/* Janardan Prasad Memorial Private ITI (JPM ITI) Custom CSS */
:root {
  --brand-navy: #0B2545;
  --brand-navy-dark: #081B33;
  --brand-orange: #EA580C;
  --brand-orange-hover: #C2410C;
  --brand-blue: #134074;
  --brand-light: #F8FAFC;
  --brand-border: #E2E8F0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #1E293B;
  background-color: #F8FAFC;
}

h1, h2, h3, h4, .font-heading {
  font-family: 'Poppins', 'Inter', sans-serif;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #F1F5F9;
}
::-webkit-scrollbar-thumb {
  background: #94A3B8;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #0B2545;
}

/* Glassmorphism & Header */
.glass-header {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Section Header Motif (•— TITLE —•) */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.825rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #EA580C;
}
.section-badge::before,
.section-badge::after {
  content: "";
  display: inline-block;
  width: 24px;
  height: 2px;
  background-color: #EA580C;
}

/* Hero Background Gradients */
.hero-gradient {
  background: linear-gradient(135deg, rgba(11, 37, 69, 0.95) 0%, rgba(19, 64, 116, 0.88) 100%);
}

/* Trade Card Hover Effects */
.trade-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid #E2E8F0;
}
.trade-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 25px -5px rgba(11, 37, 69, 0.12), 0 8px 10px -6px rgba(11, 37, 69, 0.08);
  border-color: #CBD5E1;
}

/* Facility Card Zoom */
.facility-card {
  transition: all 0.3s ease;
}
.facility-card .facility-img-wrap img {
  transition: transform 0.5s ease;
}
.facility-card:hover .facility-img-wrap img {
  transform: scale(1.08);
}

/* Floating Action Button (Call & WhatsApp) */
.floating-actions {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 40;
}
.floating-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  color: white;
}
.floating-btn:hover {
  transform: scale(1.1);
}
.floating-btn.whatsapp {
  background-color: #25D366;
}
.floating-btn.phone {
  background-color: #0B2545;
}

/* Animation utilities */
@keyframes pulseSubtle {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.85; transform: scale(1.04); }
}
.pulse-badge {
  animation: pulseSubtle 3s infinite ease-in-out;
}

/* Modal Animations */
.modal-backdrop {
  background-color: rgba(11, 37, 69, 0.7);
  backdrop-filter: blur(4px);
  transition: opacity 0.25s ease;
}
.modal-box {
  transition: transform 0.25s ease, opacity 0.25s ease;
}
