/* ==============================================================================
   Eduantum Technologies - Professional SaaS & AI Startup Stylesheet
   Fully Responsive (Desktop, Laptop, Tablet, Mobile)
   Version: 3.2
   ============================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800;900&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --primary: #0D9488;
  --primary-dark: #0F766E;
  --primary-light: #CCFBF1;
  --navy: #0F172A;
  --navy-light: #1E293B;
  --navy-dark: #020617;
  --accent: #F59E0B;
  --accent-light: #FEF3C7;
  --text-main: #1E293B;
  --text-muted: #64748B;
  --bg-page: #F8FAFC;
  --bg-white: #FFFFFF;
  --border: #E2E8F0;
  --success: #10B981;
  --danger: #EF4444;
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

html, body {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden !important;
  position: relative;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.menu-open {
  overflow: hidden !important;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--navy);
  font-weight: 700;
  letter-spacing: -0.02em;
  word-wrap: break-word;
}

a {
  text-decoration: none;
  color: inherit;
}

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

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==============================================================================
   Logo & Brand Styling
   ============================================================================== */
.site-logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
  display: block;
  transition: opacity 0.2s ease;
}

.site-logo-img:hover {
  opacity: 0.92;
}

.footer-logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
  background: #FFFFFF;
  padding: 5px 12px;
  border-radius: 6px;
  display: inline-block;
  margin-bottom: 12px;
}

.admin-logo-img {
  height: 32px;
  width: auto;
  object-fit: contain;
  background: #FFFFFF;
  padding: 3px 8px;
  border-radius: 6px;
  display: inline-block;
  margin-bottom: 6px;
}

/* ==============================================================================
   Top MSME Notification Bar
   ============================================================================== */
.msme-topbar {
  background: var(--navy-dark);
  color: #94A3B8;
  font-size: 12px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.msme-topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.msme-badge-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.msme-badge-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(13, 148, 136, 0.15);
  border: 1px solid rgba(13, 148, 136, 0.4);
  color: var(--primary-light);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 700;
  font-family: monospace;
  font-size: 11px;
}

.msme-contact-wrapper {
  display: flex;
  gap: 16px;
  font-size: 11.5px;
  align-items: center;
}

.msme-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.msme-contact-item a {
  color: var(--primary-light);
}

/* ==============================================================================
   Site Header & Responsive Navigation
   ============================================================================== */
.site-header {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
  gap: 16px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.brand-tag {
  font-size: 9.5px;
  font-weight: 800;
  background: var(--navy);
  color: white;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
}

.desktop-nav {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 20px;
  align-items: center;
  flex-wrap: nowrap;
}

.nav-links a {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
  transition: color 0.2s ease;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Mobile Hamburger Toggle Button */
.mobile-menu-toggle {
  display: none;
  background: #F1F5F9;
  border: 1px solid var(--border);
  border-radius: 8px;
  width: 42px;
  height: 42px;
  padding: 9px;
  color: var(--navy);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.mobile-menu-toggle:hover {
  background: #E2E8F0;
}

/* Mobile Navigation Drawer */
.mobile-drawer {
  display: none;
  position: absolute;
  top: 72px;
  left: 0;
  right: 0;
  width: 100%;
  background: white;
  border-bottom: 2px solid var(--border);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.2);
  max-height: calc(100vh - 72px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  z-index: 999;
}

.mobile-drawer.open {
  display: block;
}

.mobile-drawer-content {
  padding: 20px 20px 32px;
}

.mobile-nav-heading {
  font-size: 11px;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.mobile-nav-links {
  list-style: none;
  margin-bottom: 20px;
}

.mobile-nav-links li {
  border-bottom: 1px solid #F1F5F9;
}

.mobile-nav-links li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 6px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--navy);
}

.mobile-nav-links li a.active,
.mobile-nav-links li a:hover {
  color: var(--primary);
}

.mobile-drawer-actions {
  margin: 18px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mobile-drawer-footer {
  padding-top: 18px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.8;
}

.msme-chip-mobile {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--primary-dark);
  font-weight: 700;
  font-family: monospace;
}

/* ==============================================================================
   Buttons
   ============================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 18px;
  font-size: 13.5px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  font-family: var(--font-heading);
  white-space: nowrap;
  min-height: 42px;
  text-align: center;
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 2px 4px rgba(13, 148, 136, 0.2);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary-light);
}

.btn-navy {
  background: var(--navy);
  color: white;
}

.btn-navy:hover {
  background: var(--navy-light);
  transform: translateY(-1px);
}

/* ==============================================================================
   Hero Section
   ============================================================================== */
.hero-section {
  padding: 50px 0 45px;
  background: radial-gradient(100% 100% at 50% 0%, #F0FDFA 0%, #FFFFFF 100%);
  border-bottom: 1px solid var(--border);
  width: 100%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
}

.hero-badge-row {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
}

.hero-title {
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 900;
  line-height: 1.18;
  margin-bottom: 16px;
}

.hero-title span {
  color: var(--primary);
}

.hero-desc {
  font-size: 15.5px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 22px;
}

/* ==============================================================================
   Interactive Booking / Demo Card
   ============================================================================== */
.booking-widget-card {
  background: white;
  border-radius: 16px;
  padding: 26px;
  border: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  width: 100%;
}

.widget-title {
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 4px;
}

.widget-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

/* ==============================================================================
   Trust Stats Bar
   ============================================================================== */
.trust-bar {
  background: white;
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
  width: 100%;
}

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

.stat-item h3 {
  font-size: 28px;
  font-weight: 900;
  color: var(--primary);
}

.stat-item p {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ==============================================================================
   Live Product Status Pill
   ============================================================================== */
.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #DCFCE7;
  color: #15803D;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.live-dot {
  width: 6px;
  height: 6px;
  background: #16A34A;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.2);
}

/* ==============================================================================
   Grid & Card Layouts
   ============================================================================== */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  width: 100%;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 22px;
  width: 100%;
}

.card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.03);
  transition: transform 0.2s, box-shadow 0.2s;
  width: 100%;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(0,0,0,0.07);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--primary-light);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

/* ==============================================================================
   Founder / CEO Leadership Card
   ============================================================================== */
.founder-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 36px;
  align-items: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  width: 100%;
}

.founder-img-wrapper {
  position: relative;
  width: 280px;
  height: 340px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
  border: 2px solid #E2E8F0;
}

.founder-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.founder-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 11.5px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.founder-quote {
  background: #F8FAFC;
  border-left: 3px solid var(--primary);
  padding: 16px 20px;
  border-radius: 0 10px 10px 0;
  font-style: italic;
  font-size: 14px;
  color: var(--navy);
  line-height: 1.7;
  margin: 18px 0 20px;
}

/* ==============================================================================
   Vector Icons & Feature Lists
   ============================================================================== */
.lucide {
  display: inline-block;
  vertical-align: middle;
  stroke-width: 2px;
  flex-shrink: 0;
}

.icon-sm {
  width: 16px;
  height: 16px;
}

.icon-md {
  width: 20px;
  height: 20px;
}

.icon-lg {
  width: 24px;
  height: 24px;
}

.feature-list {
  list-style: none;
  padding: 0;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 13.5px;
  line-height: 1.6;
}

.feature-list li .item-icon {
  margin-top: 3px;
  color: var(--primary);
  flex-shrink: 0;
}

/* ==============================================================================
   Forms
   ============================================================================== */
.form-group {
  margin-bottom: 14px;
  width: 100%;
}

.form-group label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 5px;
}

.form-control {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  background: white;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}

/* ==============================================================================
   Footer
   ============================================================================== */
.site-footer {
  background: var(--navy-dark);
  color: #94A3B8;
  padding: 60px 0 26px;
  font-size: 13.5px;
  width: 100%;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 36px;
  width: 100%;
}

.footer-col h4 {
  color: white;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 9px;
}

.footer-col ul li a {
  color: #94A3B8;
  transition: color 0.2s;
  display: inline-block;
  padding: 2px 0;
}

.footer-col ul li a:hover {
  color: white;
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  flex-wrap: wrap;
  gap: 12px;
  width: 100%;
}

/* ==============================================================================
   Admin Layout Responsive
   ============================================================================== */
.admin-layout {
  display: flex;
  min-height: 100vh;
  width: 100%;
}

.admin-sidebar {
  width: 250px;
  background: var(--navy-dark);
  color: white;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}

.admin-nav {
  list-style: none;
  padding: 10px 0;
  flex: 1;
}

.admin-nav li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  font-size: 13px;
  color: #94A3B8;
  transition: all 0.2s;
}

.admin-nav li a:hover,
.admin-nav li a.active {
  color: white;
  background: rgba(255, 255, 255, 0.06);
  border-left: 3px solid var(--primary);
}

.admin-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: var(--bg-page);
  min-width: 0;
  width: 100%;
}

.admin-header {
  height: 64px;
  background: white;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  width: 100%;
}

.admin-content {
  padding: 24px;
  flex: 1;
  width: 100%;
}

.table-container {
  background: white;
  border-radius: 12px;
  border: 1px solid var(--border);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  width: 100%;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  min-width: 600px;
}

.data-table th {
  background: #F8FAFC;
  padding: 12px 16px;
  text-align: left;
  font-weight: 700;
  color: var(--navy);
  border-bottom: 1px solid var(--border);
}

.data-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #F1F5F9;
  vertical-align: middle;
}

/* ==============================================================================
   AGGRESSIVE RESPONSIVE MEDIA QUERIES (Overriding Inline Styles for Mobile)
   ============================================================================== */

/* Tablets & Below (<= 992px) */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  .desktop-nav {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex !important;
  }
  .founder-card {
    grid-template-columns: 1fr !important;
    text-align: center !important;
    padding: 28px 20px !important;
  }
  .founder-img-wrapper {
    margin: 0 auto !important;
    width: 240px !important;
    height: 300px !important;
  }
  .founder-quote {
    text-align: left !important;
  }
  .grid-2 {
    grid-template-columns: 1fr !important;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 28px !important;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
  }
  .admin-layout {
    flex-direction: column !important;
  }
  .admin-sidebar {
    width: 100% !important;
  }
}

/* Mobile Phones (<= 768px) - Force ALL Inline Two-Column Grids into 1 Column */
@media (max-width: 768px) {
  /* Override any hardcoded inline grids so they NEVER overflow on mobile */
  div[style*="display: grid"],
  div[style*="grid-template-columns: 1fr 1fr"],
  div[style*="grid-template-columns: 1.2fr 0.8fr"],
  div[style*="grid-template-columns: repeat(4, 1fr)"],
  section[style*="display: grid"] {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 16px !important;
  }

  /* Force container padding */
  .container {
    padding: 0 16px !important;
  }

  .site-header .nav-container {
    height: 64px !important;
  }

  .site-logo-img {
    height: 32px !important;
  }

  .brand-tag {
    display: none !important;
  }

  .desktop-only-btn {
    display: none !important;
  }

  .nav-primary-btn {
    padding: 7px 12px !important;
    font-size: 12px !important;
  }

  .msme-topbar-inner {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 6px !important;
  }

  .msme-contact-wrapper {
    justify-content: center !important;
    font-size: 11px !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
  }

  .hero-section {
    padding: 32px 0 28px !important;
  }

  .hero-title {
    font-size: 28px !important;
    line-height: 1.22 !important;
  }

  .hero-desc {
    font-size: 14.5px !important;
  }

  .hero-section div[style*="display: flex; gap: 14px"] {
    flex-direction: column !important;
    width: 100% !important;
  }

  .hero-section .btn {
    width: 100% !important;
  }

  .booking-widget-card {
    padding: 20px 16px !important;
  }

  /* Form inputs stack cleanly */
  form div[style*="display: grid"] {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
  }

  .card {
    padding: 22px 16px !important;
  }

  /* Card action buttons stack vertically on mobile */
  .card div[style*="display: flex; gap: 10px"],
  .card div[style*="display: flex; gap: 12px"] {
    flex-direction: column !important;
    width: 100% !important;
  }

  .card a.btn,
  .card button.btn {
    width: 100% !important;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
  }

  .stat-item h3 {
    font-size: 24px !important;
  }

  .stat-item p {
    font-size: 11.5px !important;
  }

  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  .footer-bottom {
    flex-direction: column !important;
    text-align: center !important;
    gap: 12px !important;
  }

  .footer-bottom div[style*="display: flex"] {
    flex-direction: column !important;
    gap: 8px !important;
  }

  .admin-header {
    padding: 0 16px !important;
    height: 56px !important;
  }

  .admin-content {
    padding: 16px 12px !important;
  }

  /* Founder card mobile sizing */
  .founder-img-wrapper {
    width: 220px !important;
    height: 270px !important;
  }
}

/* Extra Small Phones (<= 380px) */
@media (max-width: 380px) {
  .hero-title {
    font-size: 24px !important;
  }
  .founder-img-wrapper {
    width: 190px !important;
    height: 240px !important;
  }
  .stats-grid {
    grid-template-columns: 1fr !important;
  }
}
