/* ============================================
   TSM TELECOM - Main Stylesheet
   Brand: Blue tech theme, dark/light mode
   ============================================ */

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

/* ---- CSS Variables ---- */
:root {
  --tsm-blue-dark: #0a1f5c;
  --tsm-blue-mid: #1a4b9e;
  --tsm-blue-bright: #1e90ff;
  --tsm-blue-glow: #4db8ff;
  --tsm-accent: #00d4ff;
  --tsm-silver: #b0c4de;

  /* Light Mode */
  --bg-primary: #f0f4ff;
  --bg-secondary: #ffffff;
  --bg-card: #ffffff;
  --bg-nav: rgba(255,255,255,0.95);
  --text-primary: #0a1f5c;
  --text-secondary: #3a5080;
  --text-muted: #6b85a8;
  --border-color: rgba(30,144,255,0.15);
  --shadow: 0 4px 24px rgba(10,31,92,0.10);
  --shadow-hover: 0 8px 40px rgba(30,144,255,0.20);
  --card-bg: #ffffff;
  --hero-overlay: rgba(240,244,255,0.6);
  --nav-text: #0a1f5c;
  --footer-bg: #0a1f5c;
  --footer-text: #b0c4de;
  --grid-color: rgba(30,144,255,0.08);
}

[data-theme="dark"] {
  --bg-primary: #060d1a;
  --bg-secondary: #0d1b2e;
  --bg-card: #0f2040;
  --bg-nav: rgba(6,13,26,0.96);
  --text-primary: #e8f4ff;
  --text-secondary: #a0c4e8;
  --text-muted: #6090b8;
  --border-color: rgba(30,144,255,0.20);
  --shadow: 0 4px 24px rgba(0,0,0,0.40);
  --shadow-hover: 0 8px 40px rgba(30,144,255,0.30);
  --card-bg: #0f2040;
  --hero-overlay: rgba(6,13,26,0.75);
  --nav-text: #e8f4ff;
  --footer-bg: #030810;
  --footer-text: #6090b8;
  --grid-color: rgba(30,144,255,0.06);
}

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

body {
  font-family: 'Nunito', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  transition: background 0.3s ease, color 0.3s ease;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Exo 2', sans-serif;
  font-weight: 700;
}

/* ---- Product BG Slideshow ---- */
#bg-slideshow {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

#bg-slideshow img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: bgFade 65s infinite;
  filter: blur(2px);
}

#bg-slideshow img:nth-child(1)  { animation-delay:  0s; }
#bg-slideshow img:nth-child(2)  { animation-delay:  5s; }
#bg-slideshow img:nth-child(3)  { animation-delay: 10s; }
#bg-slideshow img:nth-child(4)  { animation-delay: 15s; }
#bg-slideshow img:nth-child(5)  { animation-delay: 20s; }
#bg-slideshow img:nth-child(6)  { animation-delay: 25s; }
#bg-slideshow img:nth-child(7)  { animation-delay: 30s; }
#bg-slideshow img:nth-child(8)  { animation-delay: 35s; }
#bg-slideshow img:nth-child(9)  { animation-delay: 40s; }
#bg-slideshow img:nth-child(10) { animation-delay: 45s; }
#bg-slideshow img:nth-child(11) { animation-delay: 50s; }
#bg-slideshow img:nth-child(12) { animation-delay: 55s; }
#bg-slideshow img:nth-child(13) { animation-delay: 60s; }

@keyframes bgFade {
  0%     { opacity: 0; }
  3.08%  { opacity: 0.17; }
  4.62%  { opacity: 0.17; }
  7.69%  { opacity: 0; }
  100%   { opacity: 0; }
}

/* ---- Canvas Background ---- */
#network-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}

.page-wrapper {
  position: relative;
  z-index: 1;
}

/* ---- Navbar ---- */
.tsm-navbar {
  background: var(--bg-nav);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  padding: 0.6rem 0;
  transition: all 0.3s ease;
  box-shadow: 0 2px 20px rgba(0,100,255,0.08);
}

.tsm-navbar .navbar-brand img {
  height: 48px;
  filter: drop-shadow(0 0 10px rgba(30,144,255,0.4));
  transition: filter 0.3s;
}

.tsm-navbar .navbar-brand img:hover {
  filter: drop-shadow(0 0 20px rgba(30,144,255,0.8));
}

.tsm-navbar .nav-link {
  color: var(--nav-text) !important;
  font-family: 'Exo 2', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  padding: 0.5rem 1rem !important;
  position: relative;
  transition: color 0.2s;
}

.tsm-navbar .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%; right: 50%;
  height: 2px;
  background: linear-gradient(90deg, var(--tsm-blue-bright), var(--tsm-accent));
  transition: left 0.3s, right 0.3s;
  border-radius: 2px;
}

.tsm-navbar .nav-link:hover::after,
.tsm-navbar .nav-link.active::after {
  left: 1rem; right: 1rem;
}

.tsm-navbar .nav-link:hover,
.tsm-navbar .nav-link.active {
  color: var(--tsm-blue-bright) !important;
}

/* Navbar controls */
.navbar-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-icon {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--nav-text);
  width: 36px; height: 36px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-icon:hover {
  background: var(--tsm-blue-bright);
  color: white;
  border-color: var(--tsm-blue-bright);
  box-shadow: 0 0 12px rgba(30,144,255,0.5);
}

.lang-btn {
  font-family: 'Exo 2', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0 10px;
  width: auto;
}

/* ---- Hero Section ---- */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 80px 0 40px;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(30,144,255,0.12) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 20%, rgba(0,212,255,0.08) 0%, transparent 50%);
  z-index: 0;
}

.hero-content { position: relative; z-index: 2; }

.hero-eyebrow {
  font-family: 'Exo 2', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--tsm-accent);
  font-weight: 600;
  margin-bottom: 1rem;
}

.hero-title {
  font-family: 'Exo 2', sans-serif;
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.2rem;
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--tsm-blue-bright), var(--tsm-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 520px;
  line-height: 1.65;
}

.btn-tsm-primary {
  background: linear-gradient(135deg, var(--tsm-blue-mid), var(--tsm-blue-bright));
  border: none;
  color: white;
  font-family: 'Exo 2', sans-serif;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 0.75rem 2rem;
  border-radius: 10px;
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(30,144,255,0.35);
  text-decoration: none;
  display: inline-block;
}

.btn-tsm-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(30,144,255,0.5);
  color: white;
}

.btn-tsm-outline {
  background: transparent;
  border: 2px solid var(--tsm-blue-bright);
  color: var(--tsm-blue-bright);
  font-family: 'Exo 2', sans-serif;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 0.7rem 2rem;
  border-radius: 10px;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
}

.btn-tsm-outline:hover {
  background: var(--tsm-blue-bright);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(30,144,255,0.4);
}

/* Hero visual */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo-glow {
  width: 320px;
  height: 320px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo-glow::before {
  content: '';
  position: absolute;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(30,144,255,0.25) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse-glow 3s ease-in-out infinite;
}

.hero-logo-glow::after {
  content: '';
  position: absolute;
  width: 340px; height: 340px;
  border: 1px solid rgba(30,144,255,0.2);
  border-radius: 50%;
  animation: orbit-ring 8s linear infinite;
}

.hero-logo-glow img {
  width: 210px;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 0 30px rgba(30,144,255,0.6));
  animation: float 4s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.15); opacity: 1; }
}

@keyframes orbit-ring {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ---- Stats Bar ---- */
.stats-bar {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 2.5rem 0;
}

.stat-item {
  text-align: center;
  padding: 1rem;
}

.stat-value {
  font-family: 'Exo 2', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--tsm-blue-bright), var(--tsm-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* ---- Section Styles ---- */
.section-pad { padding: 100px 0; }

.section-eyebrow {
  font-family: 'Exo 2', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--tsm-blue-bright);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: 'Exo 2', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

.divider-line {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--tsm-blue-bright), var(--tsm-accent));
  border-radius: 2px;
  margin: 1.5rem auto;
}

/* ---- Product Cards ---- */
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2rem;
  height: 100%;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--tsm-blue-mid), var(--tsm-accent));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(30,144,255,0.4);
}

.product-card:hover::before {
  transform: scaleX(1);
}

.product-icon {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, rgba(30,144,255,0.15), rgba(0,212,255,0.1));
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  color: var(--tsm-blue-bright);
  margin-bottom: 1.2rem;
  border: 1px solid rgba(30,144,255,0.2);
}

.product-name {
  font-family: 'Exo 2', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.product-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.2rem;
}

.product-features {
  list-style: none;
  padding: 0; margin: 0;
}

.product-features li {
  font-size: 0.82rem;
  color: var(--text-secondary);
  padding: 0.25rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.product-features li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--tsm-blue-bright);
  flex-shrink: 0;
}

.badge-new {
  position: absolute;
  top: 1rem; right: 1rem;
  background: linear-gradient(135deg, var(--tsm-blue-bright), var(--tsm-accent));
  color: white;
  font-size: 0.68rem;
  font-family: 'Exo 2', sans-serif;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  letter-spacing: 0.5px;
}

/* ---- Testimonials ---- */
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2rem;
  height: 100%;
  transition: all 0.3s;
}

.testimonial-card:hover {
  box-shadow: var(--shadow-hover);
  border-color: rgba(30,144,255,0.3);
}

.quote-icon {
  font-size: 2.5rem;
  color: var(--tsm-blue-bright);
  opacity: 0.4;
  line-height: 1;
  font-family: Georgia, serif;
  margin-bottom: 0.5rem;
}

.testimonial-text {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial-avatar {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--tsm-blue-mid), var(--tsm-blue-bright));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-family: 'Exo 2', sans-serif;
  font-weight: 700;
  font-size: 1rem;
}

.testimonial-name {
  font-family: 'Exo 2', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.1rem;
}

.testimonial-role {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ---- Contact Page ---- */
.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: var(--shadow);
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--border-color);
}

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

.contact-info-icon {
  width: 46px; height: 46px;
  background: linear-gradient(135deg, rgba(30,144,255,0.15), rgba(0,212,255,0.1));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--tsm-blue-bright);
  font-size: 1.1rem;
  flex-shrink: 0;
  border: 1px solid rgba(30,144,255,0.2);
}

.contact-info-label {
  font-family: 'Exo 2', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.2rem;
}

.contact-info-value {
  font-size: 0.95rem;
  color: var(--text-primary);
  font-weight: 500;
}

.form-tsm .form-control,
.form-tsm .form-select {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  font-family: 'Nunito', sans-serif;
  transition: all 0.2s;
}

.form-tsm .form-control:focus,
.form-tsm .form-select:focus {
  border-color: var(--tsm-blue-bright);
  box-shadow: 0 0 0 3px rgba(30,144,255,0.15);
  background: var(--bg-secondary);
  outline: none;
  color: var(--text-primary);
}

.form-tsm .form-label {
  font-family: 'Exo 2', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
}

.form-tsm textarea { resize: vertical; min-height: 130px; }

.form-tsm .form-control::placeholder,
.form-tsm .form-select::placeholder {
  color: var(--text-muted);
  opacity: 1;
}

/* ---- Footer ---- */
.tsm-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 60px 0 30px;
  border-top: 1px solid rgba(30,144,255,0.2);
}

.footer-brand img { height: 50px; margin-bottom: 1rem; }

.footer-desc {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--footer-text);
  margin-bottom: 1.5rem;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border: 1px solid rgba(176,196,222,0.3);
  border-radius: 8px;
  color: var(--footer-text);
  text-decoration: none;
  margin-right: 0.5rem;
  transition: all 0.2s;
  font-size: 1rem;
}

.footer-social a:hover {
  background: var(--tsm-blue-bright);
  border-color: var(--tsm-blue-bright);
  color: white;
}

.footer-heading {
  font-family: 'Exo 2', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 1.2rem;
}

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

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

.footer-links a {
  color: var(--footer-text);
  text-decoration: none;
  font-size: 0.88rem;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-links a:hover {
  color: var(--tsm-blue-bright);
  padding-left: 4px;
}

.footer-links a::before {
  content: '›';
  color: var(--tsm-blue-bright);
  font-size: 1.1rem;
}

.footer-bottom {
  border-top: 1px solid rgba(176,196,222,0.1);
  padding-top: 1.5rem;
  margin-top: 2rem;
}

.footer-bottom-text {
  font-size: 0.8rem;
  color: rgba(176,196,222,0.5);
}

/* ---- Admin Panel ---- */
.admin-sidebar {
  width: 260px;
  min-height: 100vh;
  background: var(--bg-secondary);
  border-right: 1px solid var(--border-color);
  position: fixed;
  left: 0; top: 0;
  z-index: 100;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.admin-sidebar-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.admin-sidebar-header img { height: 38px; }

.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.5rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-family: 'Exo 2', sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  transition: all 0.2s;
  border-left: 3px solid transparent;
  cursor: pointer;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
}

.admin-nav-item:hover,
.admin-nav-item.active {
  color: var(--tsm-blue-bright);
  background: rgba(30,144,255,0.08);
  border-left-color: var(--tsm-blue-bright);
}

.admin-main {
  margin-left: 260px;
  min-height: 100vh;
  background: var(--bg-primary);
}

.admin-topbar {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 50;
}

.admin-content { padding: 2rem; }

.admin-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow);
}

.admin-card-title {
  font-family: 'Exo 2', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-primary);
}

.stat-widget {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.3s;
}

.stat-widget:hover {
  box-shadow: var(--shadow-hover);
  border-color: rgba(30,144,255,0.3);
}

.stat-widget-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
}

.stat-widget-value {
  font-family: 'Exo 2', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1;
}

.stat-widget-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 0.2rem;
}

/* ---- Login Page ---- */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.login-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 3rem;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  position: relative;
  z-index: 2;
}

.login-logo { margin-bottom: 2rem; text-align: center; }
.login-logo img { height: 64px; filter: drop-shadow(0 0 20px rgba(30,144,255,0.5)); }

.login-title {
  font-family: 'Exo 2', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 0.5rem;
}

.login-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 2rem;
}

/* Alert messages */
.alert-tsm {
  border-radius: 10px;
  padding: 0.75rem 1rem;
  font-size: 0.88rem;
  border: 1px solid;
  margin-bottom: 1rem;
  font-family: 'Nunito', sans-serif;
}

.alert-success {
  background: rgba(0,200,100,0.1);
  border-color: rgba(0,200,100,0.3);
  color: #00c864;
}

.alert-danger {
  background: rgba(255,80,80,0.1);
  border-color: rgba(255,80,80,0.3);
  color: #ff5050;
}

/* ---- Page Header ---- */
.page-header {
  padding: 120px 0 60px;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(30,144,255,0.1) 0%, transparent 70%);
}

.page-header-title {
  font-family: 'Exo 2', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.6rem);
  font-weight: 800;
}

.page-header-title .highlight {
  background: linear-gradient(135deg, var(--tsm-blue-bright), var(--tsm-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- Breadcrumb ---- */
.tsm-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin-top: 1rem;
}

.tsm-breadcrumb li { font-size: 0.85rem; color: var(--text-muted); }
.tsm-breadcrumb li a { color: var(--tsm-blue-bright); text-decoration: none; }
.tsm-breadcrumb li.separator { color: var(--border-color); }

/* ---- Map placeholder ---- */
.map-placeholder {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 2rem;
  overflow: hidden;
}

/* ---- Responsive ---- */
@media (max-width: 991px) {
  .admin-sidebar { transform: translateX(-100%); }
  .admin-sidebar.open { transform: translateX(0); }
  .admin-main { margin-left: 0; }
  .hero-visual { display: none; }
}

@media (max-width: 768px) {
  .section-pad { padding: 60px 0; }
  .login-card { padding: 2rem; margin: 1rem; }
}

/* ---- Scroll animations ---- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays */
.fade-up:nth-child(1) { transition-delay: 0.05s; }
.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.15s; }
.fade-up:nth-child(4) { transition-delay: 0.2s; }
.fade-up:nth-child(5) { transition-delay: 0.25s; }
.fade-up:nth-child(6) { transition-delay: 0.3s; }

/* ---- Timeline (Hakkımızda sayfası) ---- */
.tsm-timeline {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.tsm-timeline::before {
  content: '';
  position: absolute;
  left: 90px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--tsm-blue-bright), var(--tsm-accent));
  opacity: 0.3;
}

.tsm-timeline-item {
  display: grid;
  grid-template-columns: 90px 24px 1fr;
  gap: 0 20px;
  align-items: flex-start;
  padding-bottom: 2.25rem;
}

.tsm-timeline-year {
  font-family: 'Exo 2', sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--tsm-blue-bright);
  text-align: right;
  padding-top: 0.2rem;
}

.tsm-timeline-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--tsm-blue-bright);
  border: 3px solid var(--bg-primary);
  box-shadow: 0 0 0 2px var(--tsm-blue-bright);
  margin-top: 0.3rem;
  justify-self: center;
}

.tsm-timeline-content {
  padding-bottom: 0.5rem;
}

.tsm-timeline-title {
  font-family: 'Exo 2', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.tsm-timeline-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 576px) {
  .tsm-timeline::before { left: 60px; }
  .tsm-timeline-item    { grid-template-columns: 60px 20px 1fr; gap: 0 12px; }
  .tsm-timeline-year    { font-size: 0.78rem; }
}
