/* Career Tech Institute - Clean, Modern & Professional Typography & Corporate Design System */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@600;700;800&display=swap');

:root {
  --primary-navy: #0f172a;
  --primary-blue: #1d4ed8;
  --secondary-blue: #2563eb;
  --accent-blue-light: #eff6ff;
  --emerald-trust: #059669;
  --border-color: #e2e8f0;
  --bg-slate: #f8fafc;
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Base Body Typography (Inter 400-600) */
body {
  font-family: var(--font-body);
  background-color: #ffffff;
  color: #334155;
  font-size: 0.9375rem;
  line-height: 1.65;
  letter-spacing: -0.011em;
  overflow-x: hidden;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Headings Typography (Plus Jakarta Sans 700-800) */
h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: var(--font-heading);
  color: #0f172a;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

h1, .text-4xl, .text-5xl, .text-6xl {
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: -0.035em;
}

h2, .text-3xl {
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: -0.025em;
}

h3, .text-2xl, .text-xl {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
}

h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.015em;
}

/* Counter & Metrics Typography */
.counter-stat {
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: -0.03em;
}

/* Paragraphs & Reading Flow (Inter 400-500) */
p {
  font-family: var(--font-body);
  line-height: 1.65;
  letter-spacing: -0.011em;
}

/* Navigation Typography (Inter 500-600) */
nav, .nav-link-pro, .nav-link-modern, .mobile-item-link, #mainNav {
  font-family: var(--font-body);
}

/* Buttons & CTAs Typography (Inter 600) */
button, .btn-primary, .btn-secondary, .btn-whatsapp, .btn-demo-glow, input[type="submit"] {
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* Cards Typography (Card titles in Plus Jakarta Sans 700-800, details in Inter 400-600) */
.pro-card {
  font-family: var(--font-body);
}
.pro-card h1, .pro-card h2, .pro-card h3, .pro-card h4 {
  font-family: var(--font-heading);
  font-weight: 700;
}

/* Form Inputs & Badges (Inter 400-600) */
input, select, textarea, label {
  font-family: var(--font-body);
}

/* Crisp Clean Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #94a3b8;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #1d4ed8;
}

/* Professional Clean Header & Navigation with Attractive Animations */
.header-corporate {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px 0 rgba(15, 23, 42, 0.05);
  transition: all 0.3s ease;
}

.header-corporate.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 8px 24px -4px rgba(15, 23, 42, 0.08);
  border-bottom-color: #cbd5e1;
}

/* Modern Animated Nav Link */
.nav-link-pro, .nav-link-modern {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: #334155;
  font-weight: 600;
  font-size: 0.8125rem;
  padding: 0.5rem 0.65rem;
  border-radius: 0.5rem;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

.nav-link-pro::after, .nav-link-modern::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 0%;
  height: 2.5px;
  background: linear-gradient(90deg, #1d4ed8, #2563eb);
  border-radius: 9999px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateX(-50%);
}

.nav-link-pro:hover, .nav-link-modern:hover {
  color: #1d4ed8;
  background-color: #eff6ff;
  transform: translateY(-1px);
}

.nav-link-pro:hover::after, .nav-link-modern:hover::after {
  width: 70%;
}

.nav-link-pro.active, .nav-link-modern.active {
  color: #1d4ed8;
  background-color: #eff6ff;
  font-weight: 700;
}

.nav-link-pro.active::after, .nav-link-modern.active::after {
  width: 75%;
}

/* Animated Demo CTA Button with Shine Sheen */
.btn-demo-glow {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
  color: #ffffff;
  font-weight: 700;
  border-radius: 0.625rem;
  box-shadow: 0 4px 12px 0 rgba(29, 78, 216, 0.25);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-demo-glow:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px 0 rgba(29, 78, 216, 0.35);
  background: linear-gradient(135deg, #1e40af 0%, #1d4ed8 100%);
}

.btn-demo-glow::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -75%;
  width: 50%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: rotate(25deg);
  transition: all 0.75s ease;
}

.btn-demo-glow:hover::before {
  left: 130%;
}

/* Mobile Drawer Animation */
.mobile-drawer-anim {
  animation: drawerSlideDown 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transform-origin: top;
}

@keyframes drawerSlideDown {
  from {
    opacity: 0;
    transform: translateY(-8px) scaleY(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scaleY(1);
  }
}

.mobile-item-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  border-radius: 0.625rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #1e293b;
  transition: all 0.2s ease;
}

.mobile-item-link:hover {
  background-color: #eff6ff;
  color: #1d4ed8;
  transform: translateX(4px);
}

.mobile-item-link.active {
  background-color: #dbeafe;
  color: #1d4ed8;
  font-weight: 700;
}

/* Professional Cards */
.pro-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
  transition: all 0.25s ease;
}

.pro-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  transform: translateY(-3px);
}

/* Professional Buttons */
.btn-primary {
  background-color: #1d4ed8;
  color: #ffffff;
  font-weight: 600;
  border-radius: 0.625rem;
  transition: all 0.2s ease;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.btn-primary:hover {
  background-color: #1e40af;
  box-shadow: 0 4px 12px rgba(29, 78, 216, 0.25);
}

.btn-secondary {
  background-color: #f8fafc;
  color: #0f172a;
  border: 1px solid #cbd5e1;
  font-weight: 600;
  border-radius: 0.625rem;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background-color: #f1f5f9;
  border-color: #94a3b8;
}

.btn-whatsapp {
  background-color: #059669;
  color: #ffffff;
  font-weight: 600;
  border-radius: 0.625rem;
  transition: all 0.2s ease;
}

.btn-whatsapp:hover {
  background-color: #047857;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.25);
}

/* Trust Badges */
.badge-secp {
  background-color: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  font-weight: 600;
}

.badge-fbr {
  background-color: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e40af;
  font-weight: 600;
}

.badge-demo {
  background-color: #fef3c7;
  border: 1px solid #fde68a;
  color: #92400e;
  font-weight: 700;
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  background-color: #059669;
  color: white;
  width: 54px;
  height: 54px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  box-shadow: 0 10px 25px rgba(5, 150, 105, 0.4);
  transition: transform 0.2s ease;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  background-color: #047857;
}

/* Image Zoom */
.card-img-zoom {
  transition: transform 0.4s ease;
}
.pro-card:hover .card-img-zoom {
  transform: scale(1.04);
}

/* Light Background Grid */
.bg-grid-subtle {
  background-size: 24px 24px;
  background-image: 
    linear-gradient(to right, rgba(0, 0, 0, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
}

/* ============================================================
   MOBILE-FIRST RESPONSIVENESS & TOUCH ENHANCEMENTS
   ============================================================ */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}

* {
  -webkit-tap-highlight-color: transparent;
}

/* Horizontal scrollable tab utility without ugly scrollbars */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Mobile Screen Layout Adjustments */
@media (max-width: 768px) {
  body {
    padding-bottom: 70px; /* Space for sticky bottom navigation bar */
  }

  .whatsapp-float {
    bottom: 82px; /* Sits cleanly above mobile bottom bar */
    right: 14px;
    width: 46px;
    height: 46px;
    font-size: 1.45rem;
  }
}

/* Prevent unwanted zoom on iOS Safari when focusing form inputs */
@media (max-width: 640px) {
  input[type="text"],
  input[type="tel"],
  input[type="email"],
  select,
  textarea {
    font-size: 16px !important;
  }
}

/* Safe area inset for modern edge-to-edge mobile devices */
.safe-bottom {
  padding-bottom: calc(0.35rem + env(safe-area-inset-bottom, 0px));
}
