/* ============================================================
   Vidya Packtech Pvt Ltd — Corporate & Tool Master Stylesheet
   Theme: Animated High-Tech Corrugated Packaging & Modern Enterprise
   ============================================================ */

:root {
  --primary: #DC4244;
  --primary-dark: #B82F31;
  --primary-light: #FEE2E2;
  --secondary: #0F172A;
  --secondary-light: #1E293B;
  --accent: #D97706;
  --accent-light: #FEF3C7;
  --bg: #F8FAFC;
  --card: #FFFFFF;
  --text: #1E293B;
  --text-muted: #64748B;
  --border: #E2E8F0;
  --navy: #0F172A;
  --gold: #D97706;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 12px 35px rgba(15, 23, 42, 0.12);
  --font-main: 'Inter', system-ui, -apple-system, sans-serif;
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

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

/* ============================================================
   TOP ANNOUNCEMENT BAR
   ============================================================ */
.top-bar {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.8rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.top-bar-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.top-bar-contacts {
  display: flex;
  align-items: center;
  gap: 20px;
}
.top-bar-contacts a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}
.top-bar-contacts a:hover {
  color: #F87171;
}
.top-bar-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}
.badge-group {
  background: rgba(220, 66, 68, 0.2);
  color: #FCA5A5;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid rgba(220, 66, 68, 0.3);
}

/* ============================================================
   HEADER & NAVIGATION (BIG LOGO & PERFECT MENU ALIGNMENT)
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #DC4244 !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transition: var(--transition);
  padding: 0;
}
.header-inner, .header-container {
  max-width: 1440px !important;
  margin: 0 auto;
  padding: 0 24px;
  height: 92px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 15px !important;
  position: relative;
}
.brand-logo, .header-logo {
  display: flex !important;
  align-items: center !important;
  text-decoration: none !important;
  height: 72px !important;
  flex-shrink: 0 !important;
}
.brand-logo img, .header-logo img {
  height: 72px !important;
  max-height: 72px !important;
  width: auto !important;
  max-width: none !important;
  display: block !important;
  object-fit: contain !important;
  transition: transform 0.2s ease;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.12));
}
.brand-logo:hover img, .header-logo:hover img {
  transform: scale(1.03);
}
.main-nav, .header-nav {
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
  position: static !important;
  transform: none !important;
  flex-wrap: nowrap !important;
}
.nav-link {
  color: rgba(255, 255, 255, 0.92) !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  font-size: 0.92rem !important;
  padding: 9px 13px !important;
  border-radius: 8px !important;
  transition: all 0.2s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  white-space: nowrap !important;
  line-height: 1 !important;
}
.nav-link i, .nav-link svg {
  font-size: 1.05rem !important;
  width: 18px !important;
  text-align: center !important;
  display: inline-block !important;
  opacity: 0.95;
  transition: transform 0.2s ease;
}
.nav-link:hover {
  color: #FFFFFF !important;
  background: rgba(255, 255, 255, 0.18) !important;
  transform: translateY(-1px);
}
.nav-link.active {
  color: #FFFFFF !important;
  background: rgba(255, 255, 255, 0.25) !important;
  font-weight: 700 !important;
  box-shadow: inset 0 -2px 0 #FFFFFF;
}
.nav-link:hover i {
  transform: scale(1.15);
}
.header-actions {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  flex-shrink: 0 !important;
}
.btn-cta {
  background: #0F172A !important;
  color: #FFFFFF !important;
  padding: 10px 18px !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
  font-size: 0.86rem !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.25) !important;
  transition: all 0.2s ease !important;
  border: none !important;
  cursor: pointer !important;
  white-space: nowrap !important;
}
.btn-cta:hover {
  background: #1E293B !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.35) !important;
}
.btn-outline {
  background: transparent;
  color: var(--secondary);
  border: 1.5px solid var(--border);
  padding: 9px 16px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

/* ============================================================
   HERO SECTION (ANIMATED PACKAGING THEME)
   ============================================================ */
.hero-section {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 50%, #2A0D3D 100%);
  color: #FFFFFF;
  padding: 80px 0 90px;
  position: relative;
  overflow: hidden;
}
.hero-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.6;
}
.hero-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(220, 66, 68, 0.2);
  border: 1px solid rgba(220, 66, 68, 0.4);
  color: #FCA5A5;
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero-title {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}
.hero-title .highlight {
  background: linear-gradient(135deg, #F87171 0%, #F59E0B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-desc {
  font-size: 1.05rem;
  color: #94A3B8;
  margin-bottom: 30px;
  line-height: 1.7;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 40px;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 25px;
}
.stat-item h4 {
  font-size: 1.6rem;
  font-weight: 800;
  color: #F87171;
  margin-bottom: 2px;
}
.stat-item p {
  font-size: 0.75rem;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Animated 3D Box Illustration */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.box-3d-scene {
  width: 320px;
  height: 320px;
  perspective: 1000px;
}
.box-3d-cube {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  animation: rotateCube 16s infinite linear;
}
.cube-face {
  position: absolute;
  width: 200px;
  height: 200px;
  left: 60px;
  top: 60px;
  background: rgba(217, 119, 6, 0.85);
  border: 2px solid rgba(255, 255, 255, 0.4);
  box-shadow: inset 0 0 25px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-weight: 800;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.cube-face.front  { transform: rotateY(0deg) translateZ(100px); background: rgba(220, 66, 68, 0.9); }
.cube-face.back   { transform: rotateY(180deg) translateZ(100px); background: rgba(15, 23, 42, 0.95); }
.cube-face.right  { transform: rotateY(90deg) translateZ(100px); background: rgba(217, 119, 6, 0.9); }
.cube-face.left   { transform: rotateY(-90deg) translateZ(100px); background: rgba(184, 47, 49, 0.9); }
.cube-face.top    { transform: rotateX(90deg) translateZ(100px); background: rgba(245, 158, 11, 0.95); }
.cube-face.bottom { transform: rotateX(-90deg) translateZ(100px); background: rgba(15, 23, 42, 0.9); }

@keyframes rotateCube {
  0% { transform: rotateX(-20deg) rotateY(0deg); }
  100% { transform: rotateX(-20deg) rotateY(360deg); }
}

.floating-badge {
  position: absolute;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 12px 18px;
  border-radius: 12px;
  color: #FFFFFF;
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  animation: floatBounce 4s infinite ease-in-out;
}
.floating-badge.top-right { top: 10px; right: -10px; }
.floating-badge.bottom-left { bottom: 20px; left: -10px; animation-delay: 2s; }

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

/* ============================================================
   SECTION TITLES & CARDS
   ============================================================ */
.section-pad {
  padding: 80px 0;
}
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}
.section-eyebrow {
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
  display: block;
}
.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 12px;
}
.section-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Product Cards Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}
.product-card {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 30px 25px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.product-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transition: var(--transition);
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}
.product-card:hover::before {
  opacity: 1;
}
.product-icon {
  width: 55px;
  height: 55px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}
.product-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.product-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}
.product-features {
  list-style: none;
  font-size: 0.8rem;
  color: var(--text);
  margin-bottom: 20px;
}
.product-features li {
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.product-features li i {
  color: #10B981;
}

/* ============================================================
   VIDYA GROUP LEADERSHIP SECTION
   ============================================================ */
.leadership-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
}
.leader-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}
.leader-card::after {
  content: '"';
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 8rem;
  color: rgba(220, 66, 68, 0.05);
  font-family: Georgia, serif;
  line-height: 1;
  pointer-events: none;
}
.leader-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}
.leader-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary-light);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.leader-info h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 4px;
}
.leader-info p {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.leader-quote {
  font-size: 0.95rem;
  color: #334155;
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 20px;
}
.leader-bio {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ============================================================
   EMBEDDED LIVE TOOL CONTAINER
   ============================================================ */
.embedded-tool-section {
  background: var(--navy);
  color: #FFFFFF;
  padding: 70px 0;
}
.tool-wrapper {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  color: var(--text);
}

/* ============================================================
   CONTACT & FOOTER
   ============================================================ */
.contact-section {
  background: #FFFFFF;
  padding: 80px 0;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
}
.contact-info-card {
  background: var(--navy);
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 25px;
}
.contact-icon {
  width: 44px;
  height: 44px;
  background: rgba(220, 66, 68, 0.2);
  color: #F87171;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-text h5 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: #F8FAFC;
}
.contact-text p, .contact-text a {
  font-size: 0.85rem;
  color: #94A3B8;
  text-decoration: none;
}
.contact-form {
  background: var(--bg);
  padding: 35px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

/* Footer */
.site-footer {
  background: #090D16;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.82rem;
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand p {
  margin: 15px 0;
  font-size: 0.82rem;
  line-height: 1.7;
}
.footer-title {
  color: #FFFFFF;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}
.footer-links {
  list-style: none;
}
.footer-links li {
  margin-bottom: 10px;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition);
}
.footer-links a:hover {
  color: #F87171;
  padding-left: 5px;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Mobile Responsive */
@media (max-width: 992px) {
  .hero-container { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-ctas { justify-content: center; }
  .leadership-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .main-nav { display: none; }
}
@media (max-width: 600px) {
  .hero-title { font-size: 2rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 15px; text-align: center; }
}
