/* 
 * Siriam Infotech CSS Design System
 * Dynamic Light / Dark Switching Theme
 */

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

:root {
  /* Colors - Default Light Theme (inspired by clean wordpress industrial aesthetics) */
  --bg-main: #f9fafc;       /* Structured light slate-gray */
  --bg-sec: #ffffff;        /* Pure white for layout sections */
  --text-main: #1f2937;     /* Solid charcoal for high readability */
  --text-muted: #555e6d;    /* Medium gray-slate */
  --primary: #6d28d9;       /* Corporate violet accent */
  --primary-glow: rgba(109, 40, 217, 0.12);
  --secondary: #0891b2;     /* Corporate cyan accent */
  --secondary-glow: rgba(8, 145, 178, 0.12);
  --card-bg: #ffffff;
  --card-border: rgba(0, 0, 0, 0.08);
  --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  --card-hover-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --accent-gradient: linear-gradient(135deg, var(--primary), var(--secondary));
  --hero-gradient: radial-gradient(circle at 50% -20%, rgba(109, 40, 217, 0.05) 0%, rgba(249, 250, 252, 0) 65%);
  --header-bg: rgba(241, 245, 249, 0.85);
  --nav-menu-bg: rgba(255, 255, 255, 0.96);
  --footer-bg: #f3f4f6;
  --footer-text: #555e6d;
  --footer-heading-color: #1f2937;
  --footer-border: rgba(0, 0, 0, 0.08);
  --footer-social-bg: rgba(0, 0, 0, 0.03);
  --footer-social-border: rgba(0, 0, 0, 0.08);
  --std-num-color: rgba(0, 0, 0, 0.06);
  --icon-bg: linear-gradient(135deg, rgba(109, 40, 217, 0.06), rgba(8, 145, 178, 0.06));
  --icon-border: rgba(109, 40, 217, 0.15);
  
  /* Fonts */
  --font-header: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Layout */
  --max-width: 1200px;
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --radius-lg: 16px;
  --radius-md: 8px;
}

/* Dark Theme Override values - Futuristic Cyber Neon Glow Style */
body.dark-theme {
  --bg-main: #06050c;       /* Space black */
  --bg-sec: #0d0a1b;        /* Neon-tinted deep violet-navy */
  --text-main: #f3f4f6;     /* Off-white */
  --text-muted: #9ca3af;    /* Cool gray */
  --primary: #c084fc;       /* Vibrant neon violet */
  --primary-glow: rgba(192, 132, 252, 0.25);
  --secondary: #22d3ee;     /* Vibrant neon cyan */
  --secondary-glow: rgba(34, 211, 238, 0.25);
  --card-bg: rgba(13, 10, 27, 0.75);
  --card-border: rgba(192, 132, 252, 0.15); /* Purple neon borders */
  --card-shadow: none;
  --card-hover-shadow: 0 10px 40px rgba(192, 132, 252, 0.18);
  --hero-gradient: radial-gradient(circle at 50% -20%, rgba(192, 132, 252, 0.18) 0%, rgba(6, 5, 12, 0) 70%);
  --header-bg: rgba(6, 5, 12, 0.85);
  --nav-menu-bg: rgba(6, 5, 12, 0.98);
  --footer-bg: #030206;
  --footer-text: #9ca3af;
  --footer-heading-color: #ffffff;
  --footer-border: rgba(255, 255, 255, 0.05);
  --footer-social-bg: rgba(255, 255, 255, 0.03);
  --footer-social-border: rgba(255, 255, 255, 0.08);
  --std-num-color: rgba(192, 132, 252, 0.08);
  --icon-bg: linear-gradient(135deg, rgba(192, 132, 252, 0.08), rgba(34, 211, 238, 0.08));
  --icon-border: rgba(192, 132, 252, 0.25);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-header);
  font-weight: 700;
  letter-spacing: -0.02em;
}

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

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

ul {
  list-style: none;
}

/* Common Layout Components */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 80px 0;
  transition: background-color 0.3s ease;
}

.gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

body.dark-theme .gradient-text {
  text-shadow: 0 0 20px rgba(192, 132, 252, 0.2);
}

/* Cards */
.glass-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--card-shadow);
  transition: var(--transition-smooth), background-color 0.3s ease, border-color 0.3s ease;
}

.glass-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: var(--card-hover-shadow);
}

body.dark-theme .glass-card {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.05);
}

body.dark-theme .glass-card:hover {
  border-color: var(--secondary);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-family: var(--font-header);
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition-smooth);
  font-size: 1rem;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #fff;
  border: none;
  box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
  box-shadow: 0 6px 20px rgba(8, 145, 178, 0.45);
  transform: translateY(-2px);
}

body.dark-theme .btn-primary {
  box-shadow: 0 0 20px var(--primary-glow);
}

body.dark-theme .btn-primary:hover {
  box-shadow: 0 0 25px var(--secondary-glow);
}

.btn-secondary {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--text-muted);
}

.btn-secondary:hover {
  background: rgba(109, 40, 217, 0.05);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

body.dark-theme .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--text-main);
  color: var(--text-main);
}

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-smooth), background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  border-bottom: 1px solid var(--card-border);
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.header-scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

body.dark-theme .header-scrolled {
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.35);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  font-family: var(--font-header);
  font-weight: 800;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

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

body.dark-theme .logo span {
  text-shadow: 0 0 15px rgba(34, 211, 238, 0.3);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

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

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gradient);
  transition: var(--transition-smooth);
}

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

body.dark-theme .nav-link.active::after,
body.dark-theme .nav-link:hover::after {
  box-shadow: 0 0 8px var(--secondary);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Theme Switcher Toggle button styling */
.theme-toggle-btn {
  background: transparent;
  border: 1px solid var(--card-border);
  color: var(--text-main);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
  padding: 0;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}

.theme-toggle-btn:hover {
  background: var(--primary-glow);
  border-color: var(--primary);
  color: var(--primary);
  transform: rotate(20deg);
}

.theme-toggle-btn svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: block;
}

/* CSS Theme Switcher icon visibility rules */
.theme-toggle-btn .theme-icon-moon {
  display: block;
}
.theme-toggle-btn .theme-icon-sun {
  display: none;
}

body.dark-theme .theme-toggle-btn .theme-icon-moon {
  display: none;
}
body.dark-theme .theme-toggle-btn .theme-icon-sun {
  display: block;
}

/* Home Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--hero-gradient);
  padding-top: 100px;
  transition: background-color 0.3s ease;
  overflow: hidden; /* Prevent background floating blobs from causing scrollbars */
}

/* Background floating mesh blobs animations */
@keyframes blobFloat1 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, -60px) scale(1.15); }
  100% { transform: translate(0, 0) scale(1); }
}

@keyframes blobFloat2 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-45px, 45px) scale(0.9); }
  100% { transform: translate(0, 0) scale(1); }
}

.hero::after {
  content: '';
  position: absolute;
  top: 10%;
  right: 15%;
  width: 400px;
  height: 400px;
  background: var(--primary-glow);
  filter: blur(120px);
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;
  transition: var(--transition-smooth);
  animation: blobFloat1 18s ease-in-out infinite;
}

.hero::before {
  content: '';
  position: absolute;
  bottom: 10%;
  left: 10%;
  width: 300px;
  height: 300px;
  background: var(--secondary-glow);
  filter: blur(100px);
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;
  transition: var(--transition-smooth);
  animation: blobFloat2 15s ease-in-out infinite alternate;
}

body.dark-theme .hero::after {
  background: radial-gradient(circle, rgba(192, 132, 252, 0.28) 0%, rgba(0, 0, 0, 0) 70%);
}

body.dark-theme .hero::before {
  background: radial-gradient(circle, rgba(34, 211, 238, 0.28) 0%, rgba(0, 0, 0, 0) 70%);
}

/* Responsive Hero Layout Grid */
.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 40px;
  align-items: center;
  width: 100%;
}

.hero-content {
  max-width: 700px;
}

.hero-tag {
  display: inline-block;
  background: rgba(109, 40, 217, 0.06);
  border: 1px solid rgba(109, 40, 217, 0.2);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

body.dark-theme .hero-tag {
  background: rgba(192, 132, 252, 0.1);
  border-color: rgba(192, 132, 252, 0.3);
  color: #c084fc;
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero-desc {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

/* Button CTA Micro-interactions */
.btn-arrow {
  display: inline-block;
  margin-left: 8px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* Floating Abstract SVG Graphics styles */
.hero-graphic {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}

/* SVG keyframes animations */
@keyframes rotClockwise {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

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

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

.rot-clockwise {
  animation: rotClockwise 28s linear infinite;
}

.rot-counter {
  animation: rotCounter 22s linear infinite;
}

.float-animation {
  animation: float 6s ease-in-out infinite;
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content {
    margin: 0 auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-graphic {
    max-width: 340px;
    margin-top: 50px;
  }
}

/* Business Verticals */
.verticals {
  background: var(--bg-sec);
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px auto;
}

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

.section-desc {
  color: var(--text-muted);
}

.verticals-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.vertical-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.vertical-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: var(--icon-bg);
  border: 1px solid var(--icon-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--primary);
  margin-bottom: 24px;
}

body.dark-theme .vertical-icon {
  color: var(--primary);
}

.vertical-title {
  font-size: 1.75rem;
  margin-bottom: 16px;
}

.vertical-text {
  color: var(--text-muted);
  margin-bottom: 30px;
}

.vertical-features {
  margin-bottom: 30px;
}

.vertical-feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.vertical-feature-item svg {
  color: var(--primary);
  flex-shrink: 0;
}

body.dark-theme .vertical-feature-item svg {
  color: var(--secondary);
}

/* Dynamic slider / carousel styling */
.slider-container {
  position: relative;
  overflow: hidden;
  margin: 0 -12px;
  padding: 15px 12px;
}

.slider-track {
  display: flex;
  gap: 24px;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.slider-item {
  flex: 0 0 calc(33.333% - 16px);
  min-width: 280px;
}

.slider-controls {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
}

.slider-btn {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  color: var(--text-main);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.slider-btn:hover {
  background: var(--accent-gradient);
  border-color: transparent;
  color: #fff;
  transform: scale(1.05);
}

/* Cards (Project / Course) */
.project-card, .course-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
}

.card-img-wrapper {
  position: relative;
  height: 200px;
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: #191c2c;
}

.card-img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(20, 22, 37, 0.9), rgba(25, 28, 45, 0.95));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.card-img-placeholder::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(109, 40, 217, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
  transform: rotate(30deg);
}

.card-img-placeholder svg {
  color: rgba(255, 255, 255, 0.15);
  width: 64px;
  height: 64px;
  z-index: 1;
}

.card-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.05);
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: var(--primary);
}

body.dark-theme .card-badge {
  background: rgba(6, 5, 12, 0.75);
  border: 1px solid var(--card-border);
  color: var(--secondary);
}

.card-body {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: 12px;
  line-height: 1.4;
}

.card-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-meta {
  border-top: 1px solid var(--card-border);
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.card-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.tech-tag-container {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.tech-tag {
  background: var(--bg-main);
  border: 1px solid var(--card-border);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  color: var(--text-muted);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

/* Graceful Fallback Elements */
.fallback-container {
  text-align: center;
  padding: 40px 20px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  max-width: 500px;
  margin: 0 auto;
}

.fallback-icon {
  font-size: 3rem;
  margin-bottom: 16px;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.fallback-title {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

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

/* About Page Layout */
.about-hero {
  background: radial-gradient(circle at 10% 20%, rgba(109, 40, 217, 0.05) 0%, rgba(249, 250, 252, 0) 50%);
  padding-top: 120px;
  padding-bottom: 45px;
  transition: background-color 0.3s ease;
}

body.dark-theme .about-hero {
  background: radial-gradient(circle at 10% 20%, rgba(192, 132, 252, 0.15) 0%, rgba(6, 5, 12, 0) 50%);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
  align-items: center;
}

.about-img-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--card-border);
  background: linear-gradient(135deg, rgba(20, 22, 37, 0.9), rgba(25, 28, 45, 0.95));
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-img-frame svg {
  color: rgba(109, 40, 217, 0.15);
  width: 128px;
  height: 128px;
}

body.dark-theme .about-img-frame svg {
  color: rgba(192, 132, 252, 0.2);
}

.about-img-frame::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(11, 12, 16, 0.4), transparent);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.stat-item {
  text-align: center;
  padding: 20px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  box-shadow: var(--card-shadow);
}

.stat-num {
  font-size: 2.25rem;
  font-weight: 800;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Vision / Mission Section */
.vision-mission {
  background: var(--bg-sec);
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
}

.vm-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

/* Trainer Expertise Grid */
.trainer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.trainer-card {
  text-align: center;
  position: relative;
}

.trainer-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  margin: 0 auto 24px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: #fff;
  border: 3px solid var(--card-border);
}

.trainer-name {
  font-size: 1.25rem;
  margin-bottom: 6px;
}

.trainer-role {
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

body.dark-theme .trainer-role {
  color: var(--primary);
}

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

/* Engineering Standards Section */
.standards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.standard-card {
  height: 100%;
}

.standard-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--std-num-color);
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

.standard-title {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

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

/* Footer Section */
.footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  border-top: 1px solid var(--card-border);
  padding: 80px 0 30px 0;
  transition: background-color 0.3s ease;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--footer-heading-color);
}

.footer-brand h3 span {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-desc {
  color: var(--footer-text);
  font-size: 0.9rem;
  margin-bottom: 24px;
  max-width: 320px;
}

.footer-socials {
  display: flex;
  gap: 16px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--footer-social-bg);
  border: 1px solid var(--footer-social-border);
  color: var(--footer-text);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.social-link:hover {
  background: var(--accent-gradient);
  border-color: transparent;
  color: #fff;
  transform: translateY(-3px);
}

.footer-heading {
  font-size: 1.1rem;
  margin-bottom: 24px;
  position: relative;
  color: var(--footer-heading-color);
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--footer-text);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--secondary);
  padding-left: 5px;
}

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

/* Responsiveness */
@media (max-width: 1024px) {
  .verticals-grid, .about-grid, .vm-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .trainer-grid, .standards-grid, .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .slider-item {
    flex: 0 0 calc(50% - 12px);
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.75rem;
  }
  
  .navbar {
    height: 70px;
  }
  
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: var(--nav-menu-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    transition: 0.4s ease;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-toggle {
    display: block;
    order: 3;
  }
  
  .theme-toggle-btn {
    order: 2;
    margin-left: auto;
    margin-right: 16px;
  }
  
  .trainer-grid, .standards-grid, .footer-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .slider-item {
    flex: 0 0 100%;
  }
}

/* Portfolio Page Specific Styling */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.portfolio-item {
  transition: var(--transition-smooth);
}

.portfolio-item.hide, .course-item.hide {
  display: none !important;
}

.filter-bar {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
  padding: 24px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow);
}

body.dark-theme .filter-bar {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.05);
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.filter-select {
  background: var(--bg-main);
  border: 1px solid var(--card-border);
  color: var(--text-main);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  outline: none;
  font-family: var(--font-body);
  font-size: 0.9rem;
  cursor: pointer;
  min-width: 170px;
  transition: var(--transition-smooth);
}

.filter-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 10px var(--primary-glow);
}

.search-input-wrapper {
  position: relative;
  min-width: 280px;
}

.search-input {
  width: 100%;
  background: var(--bg-main);
  border: 1px solid var(--card-border);
  color: var(--text-main);
  padding: 12px 16px 12px 42px;
  border-radius: var(--radius-md);
  outline: none;
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}

.search-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 10px var(--primary-glow);
}

.search-icon-svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
  width: 18px;
  height: 18px;
}

/* Case Study Content Details */
.case-study-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary);
  margin-top: 18px;
  margin-bottom: 6px;
}

body.dark-theme .case-study-title {
  color: var(--secondary);
}

.case-study-text {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.metrics-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.metric-tag {
  background: linear-gradient(135deg, rgba(8, 145, 178, 0.08), rgba(109, 40, 217, 0.08));
  border: 1px solid rgba(8, 145, 178, 0.2);
  color: var(--secondary);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

body.dark-theme .metric-tag {
  border-color: rgba(34, 211, 238, 0.3);
  color: var(--secondary);
  background: rgba(34, 211, 238, 0.05);
}

@media (max-width: 768px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  .filter-bar {
    flex-direction: column;
    align-items: stretch;
  }
  .filter-group {
    flex-direction: column;
    align-items: stretch;
  }
  .filter-select {
    width: 100%;
  }
  .search-input-wrapper {
    width: 100%;
  }
}

/* Accordion Component Styling */
.accordion {
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  overflow: hidden;
  background: var(--bg-sec);
  transition: var(--transition-smooth);
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  cursor: pointer;
  user-select: none;
  background: var(--card-bg);
  font-weight: 600;
  font-family: var(--font-header);
  transition: var(--transition-smooth);
}

.accordion-header:hover {
  background: var(--primary-glow);
  color: var(--primary);
}

.accordion-arrow {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--text-muted);
}

.accordion.active .accordion-arrow {
  transform: rotate(180deg);
  color: var(--primary);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
  background: var(--bg-sec);
}

.accordion.active .accordion-body {
  max-height: 1000px; /* High enough value to house any module content */
  opacity: 1;
  border-top: 1px solid var(--card-border);
}

.accordion-content {
  padding: 24px;
}

/* Form & Lead Input Styles */
.form-group {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

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

.form-input, .form-textarea {
  width: 100%;
  background: var(--bg-sec);
  border: 1px solid var(--card-border);
  color: var(--text-main);
  padding: 14px 18px;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-smooth);
}

.form-input:focus, .form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 12px var(--primary-glow);
  background: var(--bg-main);
}

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

/* Toggle Group for Inquiry Type */
.toggle-group {
  display: flex;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-sec);
  margin-bottom: 8px;
}

.toggle-btn {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 14px 20px;
  font-family: var(--font-header);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-align: center;
}

.toggle-btn:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.03);
}

.toggle-btn.active {
  background: var(--accent-gradient);
  color: #fff !important;
}

body.dark-theme .toggle-btn.active {
  box-shadow: 0 0 15px var(--primary-glow);
}

/* Status Alert Elements */
.alert {
  padding: 16px 24px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 24px;
  display: none; /* Initially hidden */
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

.alert-success {
  background: #d1fae5;
  border: 1px solid #10b981;
  color: #065f46;
}

body.dark-theme .alert-success {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.4);
  color: #34d399;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.15);
}

.alert-danger {
  background: #fee2e2;
  border: 1px solid #ef4444;
  color: #991b1b;
}

body.dark-theme .alert-danger {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.4);
  color: #f87171;
  box-shadow: 0 0 15px rgba(239, 68, 68, 0.15);
}

/* Admin Specific Styling */
.admin-login-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--hero-gradient);
  padding: 24px;
}

.admin-login-card {
  width: 100%;
  max-width: 450px;
}

.admin-layout {
  padding-top: 120px;
  min-height: 100vh;
  padding-bottom: 60px;
}

.admin-nav {
  display: flex;
  gap: 16px;
  border-bottom: 1px solid var(--card-border);
  margin-bottom: 30px;
  padding-bottom: 8px;
  flex-wrap: wrap;
}

.admin-tab {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 12px 24px;
  font-family: var(--font-header);
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  transition: var(--transition-smooth);
}

.admin-tab:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.03);
}

.admin-tab.active {
  color: var(--primary);
  border-bottom: 3px solid var(--primary);
}

body.dark-theme .admin-tab.active {
  color: var(--secondary);
  border-bottom-color: var(--secondary);
}

.admin-table-wrapper {
  overflow-x: auto;
  margin-bottom: 40px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 16px;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.admin-table th, .admin-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--card-border);
  font-size: 0.9rem;
}

.admin-table th {
  font-family: var(--font-header);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.admin-table tr:last-child td {
  border-bottom: none;
}

.admin-table tbody tr:hover {
  background: rgba(0, 0, 0, 0.02);
}

body.dark-theme .admin-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

.admin-actions {
  display: flex;
  gap: 8px;
}

.btn-sm {
  padding: 8px 14px;
  font-size: 0.8rem;
  border-radius: 4px;
}

.btn-danger {
  background: #dc2626;
  color: #fff;
  border: none;
  box-shadow: 0 2px 6px rgba(220, 38, 38, 0.2);
}
.btn-danger:hover {
  background: #b91c1c;
  transform: translateY(-1px);
}

.btn-info {
  background: #2563eb;
  color: #fff;
  border: none;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.2);
}
.btn-info:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
}

/* Status Pill Indicators for Inquiries */
.status-pill {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: center;
}

.status-pill.new {
  background: #fee2e2;
  color: #991b1b;
}

.status-pill.progress {
  background: #fef3c7;
  color: #92400e;
}

.status-pill.processed {
  background: #d1fae5;
  color: #065f46;
}

body.dark-theme .status-pill.new {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
}

body.dark-theme .status-pill.progress {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
}

body.dark-theme .status-pill.processed {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
}

/* Stats Counter Strip */
.stats-strip {
  background: var(--bg-main);
  padding: 60px 0;
  border-bottom: 1px solid var(--card-border);
  transition: background-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.stats-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  text-align: center;
}

.stat-strip-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-right: 1px solid var(--card-border);
  
  /* Scroll reveal starting state */
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Staggered load delays for entering columns */
.stat-strip-item:nth-child(1) { transition-delay: 0.05s; }
.stat-strip-item:nth-child(2) { transition-delay: 0.15s; }
.stat-strip-item:nth-child(3) { transition-delay: 0.25s; }
.stat-strip-item:nth-child(4) { transition-delay: 0.35s; }

/* Scroll reveal active state */
.stat-strip-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.stat-strip-num {
  font-size: 2.75rem;
  font-weight: 800;
  margin-bottom: 6px;
  font-family: var(--font-header);
}

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

@media (max-width: 1024px) {
  .stats-strip-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  .stat-strip-item {
    border-right: none;
    padding: 10px;
    transform: translateY(20px);
  }
}

@media (max-width: 480px) {
  .stats-strip-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .stat-strip-item {
    border-right: none;
    border-bottom: 1px solid var(--card-border);
    padding-bottom: 20px;
  }
  .stat-strip-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
}

/* Testimonials Carousel Slider Styling */
.testimonials {
  padding-bottom: 100px;
}

.testimonial-slider-container {
  overflow: hidden;
  width: 100%;
  padding: 20px 0;
  position: relative;
  cursor: grab;
}

.testimonial-slider-container:active {
  cursor: grabbing;
}

.testimonial-slider-track {
  display: flex;
  gap: 24px;
  will-change: transform;
}

.testimonial-card {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 35px;
  text-align: left;
  user-select: none;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  box-shadow: var(--card-shadow);
  border-radius: var(--radius-lg);
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: var(--card-hover-shadow);
}

body.dark-theme .testimonial-card {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.05);
}

body.dark-theme .testimonial-card:hover {
  border-color: var(--secondary);
}

.test-rating {
  color: #fbbf24;
  font-size: 1.15rem;
  margin-bottom: 14px;
}

.test-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
  flex-grow: 1;
}

.test-author {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--card-border);
  padding-top: 20px;
}

.test-author-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  font-family: var(--font-header);
}

.test-author-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 2px;
}

.test-author-meta {
  font-size: 0.82rem;
  color: var(--text-muted);
}



