@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;500;600&family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --bg-dark: #070a12;
  --bg-darker: #04060a;
  --bg-card: rgba(15, 23, 42, 0.65);
  --bg-card-hover: rgba(23, 34, 60, 0.85);
  --bg-glass: rgba(15, 23, 42, 0.4);
  
  --accent-cyan: #00f2fe;
  --accent-blue: #4facfe;
  --accent-purple: #7000ff;
  --accent-gold: #ffb703;
  --accent-emerald: #00e676;
  --accent-red: #ff3366;

  --gradient-cyber: linear-gradient(135deg, #00f2fe 0%, #4facfe 50%, #7000ff 100%);
  --gradient-gold: linear-gradient(135deg, #ffe259 0%, #ffa751 100%);
  --gradient-glow: linear-gradient(90deg, rgba(0,242,254,0.15), rgba(112,0,255,0.15));

  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --border-glass: rgba(255, 255, 255, 0.08);
  --border-cyan: rgba(0, 242, 254, 0.25);
  --border-cyan-glow: rgba(0, 242, 254, 0.6);

  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-heading: 'Outfit', sans-serif;
  --font-mono: 'Fira Code', monospace;

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  
  --shadow-neon: 0 0 25px rgba(0, 242, 254, 0.25);
  --shadow-purple: 0 0 25px rgba(112, 0, 255, 0.25);
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

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

.grid-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(0, 242, 254, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 242, 254, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: -1;
  pointer-events: none;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.gradient-text {
  background: var(--gradient-cyber);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-gold-text {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.mono {
  font-family: var(--font-mono);
}

/* Container */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 6rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid var(--border-cyan);
  color: var(--accent-cyan);
  font-size: 0.85rem;
  font-weight: 600;
  font-family: var(--font-mono);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 650px;
  margin: 0 auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.8rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-normal);
  border: none;
  outline: none;
}

.btn-primary {
  background: var(--gradient-cyber);
  color: #070a12;
  box-shadow: 0 4px 20px rgba(0, 242, 254, 0.35);
  font-weight: 700;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 242, 254, 0.55);
}

.btn-secondary {
  background: rgba(15, 23, 42, 0.8);
  color: var(--text-main);
  border: 1px solid var(--border-cyan);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(0, 242, 254, 0.12);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  transform: translateY(-3px);
}

.btn-outline-gold {
  background: rgba(255, 183, 3, 0.08);
  color: var(--accent-gold);
  border: 1px solid rgba(255, 183, 3, 0.4);
}

.btn-outline-gold:hover {
  background: rgba(255, 183, 3, 0.2);
  border-color: var(--accent-gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 183, 3, 0.3);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  border-radius: 8px;
}

/* Glass Card Component */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 2rem;
  transition: var(--transition-normal);
}

.glass-card:hover {
  border-color: var(--border-cyan);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-card);
}

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.2rem 0;
  transition: var(--transition-normal);
}

.header.scrolled {
  background: rgba(7, 10, 18, 0.85);
  backdrop-filter: blur(20px);
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--border-glass);
}

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

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

.logo-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--gradient-cyber);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #070a12;
  font-weight: 800;
  font-size: 1.2rem;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.4);
}

.logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.3rem;
  color: #fff;
}

.logo-text span {
  color: var(--accent-cyan);
  font-size: 0.8rem;
  display: block;
  font-family: var(--font-mono);
  font-weight: 500;
}

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

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition-fast);
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-cyan);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--accent-cyan);
  transition: var(--transition-fast);
  border-radius: 2px;
}

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

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 7rem;
  padding-bottom: 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
  align-items: center;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  background: rgba(0, 230, 118, 0.1);
  border: 1px solid rgba(0, 230, 118, 0.3);
  color: var(--accent-emerald);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 10px var(--accent-emerald);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 230, 118, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(0, 230, 118, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 230, 118, 0); }
}

.hero-title {
  font-size: 3.2rem;
  margin-bottom: 1rem;
  line-height: 1.15;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-glass);
}

.stat-item h3 {
  font-size: 2rem;
  color: var(--accent-cyan);
  font-family: var(--font-mono);
}

.stat-item p {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
}

/* Hero Avatar Visual Card */
.hero-visual {
  position: relative;
}

.profile-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border-cyan);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), var(--shadow-neon);
}

.profile-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.profile-card:hover .profile-img {
  transform: scale(1.03);
}

.profile-badge-overlay {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  background: rgba(10, 14, 23, 0.85);
  backdrop-filter: blur(15px);
  padding: 1rem 1.25rem;
  border-radius: 16px;
  border: 1px solid var(--border-cyan);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mini-badge {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid var(--accent-gold);
}

.badge-info h4 {
  font-size: 0.95rem;
  color: var(--accent-gold);
}

.badge-info p {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

/* MTCRE Certification Section */
.cert-section {
  background: linear-gradient(180deg, var(--bg-dark) 0%, rgba(15, 23, 42, 0.6) 50%, var(--bg-dark) 100%);
}

.mtcre-banner {
  background: linear-gradient(135deg, rgba(23, 34, 60, 0.9) 0%, rgba(10, 14, 23, 0.95) 100%);
  border: 2px solid rgba(255, 183, 3, 0.3);
  border-radius: 24px;
  padding: 3rem;
  box-shadow: 0 0 35px rgba(255, 183, 3, 0.12);
  position: relative;
  overflow: hidden;
}

.mtcre-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(255, 183, 3, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.mtcre-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 3rem;
  align-items: center;
}

.mtcre-badge-wrapper {
  text-align: center;
}

.mtcre-badge-img {
  width: 240px;
  height: 240px;
  object-fit: contain;
  filter: drop-shadow(0 0 20px rgba(255, 183, 3, 0.4));
  animation: float 4s ease-in-out infinite;
}

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

.cert-title-badge {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  background: rgba(255, 183, 3, 0.15);
  border: 1px solid var(--accent-gold);
  color: var(--accent-gold);
  font-size: 0.8rem;
  font-family: var(--font-mono);
  border-radius: 6px;
  margin-bottom: 0.8rem;
}

.cert-modules-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin: 2rem 0;
}

.module-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: rgba(15, 23, 42, 0.6);
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid var(--border-glass);
}

.module-icon {
  color: var(--accent-cyan);
  font-size: 1.2rem;
  margin-top: 2px;
}

.module-text h5 {
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.module-text p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Secondary Certifications Grid */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.cert-card {
  padding: 1.5rem;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.cert-icon-box {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid var(--border-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.cert-details h4 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.cert-details p {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

/* RouterOS Code Preview Box */
.code-preview-box {
  background: #080c14;
  border: 1px solid var(--border-cyan);
  border-radius: 16px;
  overflow: hidden;
  margin-top: 2.5rem;
}

.code-header {
  background: #0e1524;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-glass);
}

.code-dots {
  display: flex;
  gap: 6px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }

.code-title {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.code-body {
  padding: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: #38ef7d;
  line-height: 1.7;
  overflow-x: auto;
}

.code-comment { color: #64748b; }
.code-cmd { color: #00f2fe; }
.code-param { color: #ffb703; }

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

.skill-category-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-glass);
}

.skill-category-title i {
  color: var(--accent-cyan);
}

.skill-bar-wrapper {
  margin-bottom: 1.25rem;
}

.skill-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.skill-percentage {
  font-family: var(--font-mono);
  color: var(--accent-cyan);
}

.skill-progress-bg {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  overflow: hidden;
}

.skill-progress-fill {
  height: 100%;
  background: var(--gradient-cyber);
  border-radius: 10px;
  transition: width 1s ease-in-out;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.skill-chip {
  padding: 0.35rem 0.85rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  border-radius: 50px;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  transition: var(--transition-fast);
}

.skill-chip:hover {
  background: rgba(0, 242, 254, 0.1);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

/* Projects & Topology Section */
.project-filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.filter-btn {
  padding: 0.6rem 1.4rem;
  border-radius: 50px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
  background: rgba(0, 242, 254, 0.15);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

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

.project-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.project-img-wrapper {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-img {
  transform: scale(1.08);
}

.project-content {
  padding: 1.75rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.project-category {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.project-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.project-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.project-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border-glass);
}

/* Interactive Utility Tools Section (Subnet Calc & Ping Simulator) */
.tools-section {
  background: linear-gradient(180deg, var(--bg-dark) 0%, rgba(15, 23, 42, 0.8) 50%, var(--bg-dark) 100%);
}

.tools-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.tool-card-title {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.tool-card-title i {
  color: var(--accent-cyan);
}

/* Subnet Calculator Form */
.calc-form {
  margin-top: 1.5rem;
}

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

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

.form-input {
  width: 100%;
  padding: 0.85rem 1.2rem;
  background: #080c14;
  border: 1px solid var(--border-glass);
  border-radius: 10px;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  transition: var(--transition-fast);
  outline: none;
}

.form-input:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.2);
}

.calc-results-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
  padding: 1.2rem;
  background: #080c14;
  border-radius: 12px;
  border: 1px solid var(--border-cyan);
}

.calc-res-item h6 {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.calc-res-item p {
  font-size: 0.95rem;
  color: var(--accent-cyan);
  font-family: var(--font-mono);
  font-weight: 600;
}

/* Ping Live Terminal Simulator */
.terminal-window {
  background: #05080f;
  border: 1px solid var(--border-cyan);
  border-radius: 16px;
  overflow: hidden;
  height: 420px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
}

.terminal-header {
  background: #0c1220;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-glass);
}

.terminal-title {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.terminal-body {
  flex-grow: 1;
  padding: 1.2rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: #00e676;
  overflow-y: auto;
  line-height: 1.6;
}

.term-line {
  margin-bottom: 0.4rem;
  word-break: break-all;
}

.term-prompt {
  color: var(--accent-cyan);
}

.term-cmd-bar {
  padding: 0.75rem 1rem;
  background: #0c1220;
  border-top: 1px solid var(--border-glass);
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.term-btn {
  padding: 0.35rem 0.75rem;
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid var(--border-cyan);
  border-radius: 6px;
  color: var(--accent-cyan);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.term-btn:hover {
  background: var(--accent-cyan);
  color: #070a12;
}

/* Experience Timeline */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 20px;
  width: 2px;
  background: var(--gradient-cyber);
}

.timeline-item {
  position: relative;
  padding-left: 60px;
  margin-bottom: 3rem;
}

.timeline-dot {
  position: absolute;
  left: 11px;
  top: 5px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--bg-dark);
  border: 3px solid var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan);
}

.timeline-date {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent-cyan);
  margin-bottom: 0.4rem;
}

.timeline-role {
  font-size: 1.3rem;
  margin-bottom: 0.2rem;
}

.timeline-company {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.timeline-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.25rem 1.5rem;
  text-decoration: none;
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid var(--border-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--accent-cyan);
}

.contact-details h5 {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.contact-details p {
  font-size: 1.05rem;
  color: #fff;
  font-weight: 600;
}

/* Modal Popup */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(4, 6, 10, 0.85);
  backdrop-filter: blur(12px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: var(--bg-card-hover);
  border: 1px solid var(--border-cyan);
  border-radius: 20px;
  max-width: 650px;
  width: 100%;
  padding: 2rem;
  position: relative;
  box-shadow: var(--shadow-neon);
}

.modal-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
}

.modal-close:hover {
  color: #fff;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.toast {
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid var(--accent-cyan);
  color: #fff;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  font-size: 0.9rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Footer */
.footer {
  padding: 3rem 0;
  border-top: 1px solid var(--border-glass);
  text-align: center;
  background: var(--bg-darker);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.social-links {
  display: flex;
  gap: 1.2rem;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-fast);
}

.social-icon:hover {
  background: rgba(0, 242, 254, 0.15);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  transform: translateY(-3px);
}

.copyright {
  color: var(--text-dim);
  font-size: 0.85rem;
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
  .hero-grid, .mtcre-grid, .tools-grid, .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .nav-links {
    display: none;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(7, 10, 18, 0.95);
    backdrop-filter: blur(20px);
    padding: 2rem;
    border-bottom: 1px solid var(--border-glass);
  }
}

@media (max-width: 576px) {
  .hero-stats {
    grid-template-columns: 1fr;
  }
  
  .cert-modules-list, .calc-results-grid {
    grid-template-columns: 1fr;
  }
  
  .section-title {
    font-size: 2rem;
  }
}
