/* ==========================================================================
   LOGO - Modern LMS & EdTech Platform
   Master Stylesheet (style.css)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:wght@400;500;600;700;800&family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

/* --- Design Tokens & CSS Variables --- */
:root {
  /* Brand Colors (Calibrated to skillall.in Logo) */
  --primary: #d97706;
  --primary-hover: #b45309;
  --primary-light: #fffbeb;
  --primary-glow: rgba(232, 152, 27, 0.28);
  --primary-glow-hover: rgba(217, 119, 6, 0.40);
  
  --secondary: #152636;
  --secondary-light: #1e354a;
  --dark-surface: #0f1c28;
  
  --accent: #e8981b;
  --accent-hover: #d97706;
  --accent-light: #fef3c7;
  
  --amber: #f59e0b;
  --amber-light: #fef3c7;
  --success: #10b981;
  --success-light: #ecfdf5;
  --danger: #ef4444;
  --danger-light: #fef2f2;
  --info: #0284c7;
  --info-light: #f0f9ff;

  /* Surfaces & Backgrounds */
  --bg-body: #fbfbfc;
  --bg-card: #ffffff;
  --bg-subtle: #f4f6f9;
  --bg-dark: #0d1722;
  --bg-dark-subtle: #132230;

  /* Text Colors */
  --text-main: #1e293b;
  --text-muted: #5e6f84;
  --text-light: #8fa0b5;
  --text-white: #ffffff;
  --text-dark: #152636;

  /* Borders & Dividers */
  --border-color: #e2e8f0;
  --border-light: #edf2f7;
  --border-dark: #1e354a;

  /* Typography */
  --font-heading: 'Outfit', 'Plus Jakarta Sans', 'Noto Sans', 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', 'Noto Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-price: 'Plus Jakarta Sans', 'Noto Sans', 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;

  /* Radius & Shadows */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 6px 18px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 16px 36px rgba(15, 23, 42, 0.08);
  --shadow-xl: 0 24px 54px rgba(15, 23, 42, 0.12);
  --shadow-card-hover: 0 20px 40px -10px rgba(232, 152, 27, 0.18);

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Base Resets & Global Typography --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--secondary);
  font-weight: 700;
  line-height: 1.25;
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.35rem; }
h5 { font-size: 1.15rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1rem;
}

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

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

ul, ol {
  list-style: none;
}

/* --- Layout Containers & Utilities --- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-fluid {
  width: 100%;
  padding: 0 2rem;
}

.section {
  padding: 5.5rem 0;
  position: relative;
}

.section-bg {
  background-color: #ffffff;
}

.section-dark {
  background-color: var(--secondary);
  color: var(--text-white);
}

.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 {
  color: var(--text-white);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}

.section-header.text-left {
  text-align: left;
  margin: 0 0 2.5rem;
}

.section-subtitle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  background: var(--primary-light);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section-title span.highlight {
  color: var(--primary);
  position: relative;
  display: inline-block;
}

.section-title span.highlight::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 100%;
  height: 8px;
  background: var(--amber);
  opacity: 0.35;
  border-radius: 4px;
  z-index: -1;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.grid {
  display: grid;
  gap: 1.75rem;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* --- Announcement Topbar --- */
.topbar {
  background: linear-gradient(90deg, #152636 0%, #1e354a 50%, #152636 100%);
  color: #ffffff;
  font-size: 0.875rem;
  padding: 0.6rem 0;
  position: relative;
  z-index: 50;
  overflow: hidden;
}

.topbar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(232, 152, 27, 0.25), transparent 40%);
  pointer-events: none;
}

.topbar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.topbar-promo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.topbar-badge {
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}

.topbar-countdown {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-heading);
  font-weight: 700;
  background: rgba(255, 255, 255, 0.15);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-sm);
}

.topbar-countdown .cd-item {
  color: #fef08a;
}

.topbar-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.topbar-link {
  color: #e0e7ff;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color var(--transition-fast);
}

.topbar-link:hover {
  color: #ffffff;
}

/* --- Navigation Header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.98);
}

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

/* Logo */
.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--secondary);
  text-decoration: none;
  transition: opacity var(--transition-fast);
}

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

.site-logo-img {
  height: 40px;
  width: auto;
  max-width: 190px;
  object-fit: contain;
  display: block;
  transition: transform var(--transition-fast);
}

.site-logo:hover .site-logo-img {
  transform: scale(1.02);
}

.site-logo .logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, #e8981b 0%, #d97706 100%);
  color: #ffffff;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 4px 12px var(--primary-glow);
}

.site-logo span.dot {
  color: var(--accent);
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-main);
  padding: 0.5rem 0;
  position: relative;
  transition: color var(--transition-fast);
}

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

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

/* Category Mega Dropdown */
.nav-dropdown {
  position: relative;
}

.dropdown-trigger {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 260px;
  background: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-color);
  padding: 0.75rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-normal);
  z-index: 110;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-main);
  transition: all var(--transition-fast);
}

.dropdown-item:hover {
  background: var(--primary-light);
  color: var(--primary);
  padding-left: 1.5rem;
}

.dropdown-item i {
  width: 20px;
  color: var(--primary);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.action-icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-subtle);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all var(--transition-fast);
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
}

.action-icon-btn:hover {
  background: var(--primary-light);
  color: var(--primary);
}

.action-icon-btn .badge-count {
  position: absolute;
  top: -3px;
  right: -3px;
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  min-width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
}

.mobile-toggle-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--secondary);
  cursor: pointer;
  padding: 0.5rem;
}

/* --- Hero Banner Section --- */
.hero-section {
  position: relative;
  padding: 5rem 0 6.5rem;
  background: linear-gradient(135deg, #f8fafc 0%, #fef8ee 50%, #f9fbfd 100%);
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -100px;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(232, 152, 27, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

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

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary);
  background: rgba(232, 152, 27, 0.12);
  padding: 0.4rem 1.15rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.35rem;
  color: var(--secondary);
  letter-spacing: -0.025em;
}

.hero-title span.text-gradient {
  background: linear-gradient(135deg, #e8981b 0%, #f59e0b 50%, #d97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 580px;
}

/* Hero Search Bar */
.hero-search-box {
  background: #ffffff;
  padding: 0.45rem 0.5rem 0.45rem 1.25rem;
  border-radius: var(--radius-full);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.09);
  display: flex;
  align-items: center;
  border: 1px solid var(--border-color);
  max-width: 540px;
  margin-bottom: 1.25rem;
}

.hero-search-box input {
  border: none;
  outline: none;
  font-size: 1rem;
  width: 100%;
  color: var(--text-main);
  background: transparent;
  font-family: inherit;
}

.hero-search-box input::placeholder {
  color: var(--text-light);
}

.hero-trending {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.hero-trending .trend-tag {
  background: #ffffff;
  color: var(--text-main);
  padding: 0.2rem 0.75rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
  font-size: 0.82rem;
  font-weight: 500;
  transition: all var(--transition-fast);
}

.hero-trending .trend-tag:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

/* Hero Visual & Interactive Elements */
.hero-visual {
  position: relative;
}

.hero-img-wrapper {
  position: relative;
  z-index: 1;
}

.hero-main-img {
  width: 100%;
  max-width: 480px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  border: 6px solid #ffffff;
  display: block;
  margin: 0 auto;
}

/* Floating Badges */
.floating-card {
  position: absolute;
  background: #ffffff;
  padding: 0.9rem 1.25rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  z-index: 3;
  animation: floatSlow 5s ease-in-out infinite;
}

.floating-card-1 {
  top: 10%;
  left: -20px;
}

.floating-card-2 {
  bottom: 10%;
  right: -20px;
  animation-delay: 2.5s;
}

.float-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.float-icon.amber {
  background: var(--amber-light);
  color: var(--amber);
}

.float-icon.green {
  background: var(--success-light);
  color: var(--success);
}

.float-info h5 {
  font-size: 1.1rem;
  font-weight: 800;
  margin: 0;
  color: var(--secondary);
}

.float-info p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

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

/* --- Brand Partners Bar --- */
.partners-bar {
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border-color);
  background: #ffffff;
}

.partners-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  opacity: 0.7;
}

.partner-item {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: #94a3b8;
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: opacity var(--transition-fast);
}

.partner-item:hover {
  opacity: 1;
  color: var(--secondary);
}

/* --- Why Choose Us Section --- */
.feature-card {
  background: #ffffff;
  padding: 2.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(232, 152, 27, 0.35);
}

.feature-icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.feature-card h4 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 0;
  line-height: 1.6;
}

/* --- Counter Statistics Banner --- */
.stats-banner {
  background: linear-gradient(135deg, var(--secondary) 0%, #1a2238 100%);
  padding: 4.5rem 0;
  color: #ffffff;
  position: relative;
}

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

.stat-item h3 {
  font-size: 3rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.4rem;
  font-family: var(--font-heading);
}

.stat-item h3 span.suffix {
  color: var(--accent);
}

.stat-item p {
  color: #94a3b8;
  font-size: 1rem;
  font-weight: 500;
  margin: 0;
}

/* --- Events / Webinars --- */
.event-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
  display: flex;
  transition: all var(--transition-normal);
}

.event-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.event-thumb {
  width: 35%;
  position: relative;
}

.event-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-content {
  padding: 1.75rem;
  width: 65%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.event-meta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.event-title {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

/* --- Newsletter Banner --- */
.newsletter-banner {
  background: linear-gradient(135deg, #152636 0%, #1e354a 50%, var(--primary) 100%);
  border-radius: var(--radius-xl);
  padding: 4rem 3.5rem;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.newsletter-banner::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.newsletter-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 2.5rem;
  position: relative;
  z-index: 2;
}

.newsletter-text h3 {
  color: #ffffff;
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
}

.newsletter-text p {
  color: #e0e7ff;
  font-size: 1.05rem;
  margin-bottom: 0;
}

.newsletter-form-box {
  display: flex;
  background: #ffffff;
  padding: 0.4rem;
  border-radius: var(--radius-full);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.newsletter-form-box input {
  flex: 1;
  border: none;
  outline: none;
  padding: 0 1.25rem;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text-main);
  background: transparent;
}

/* --- Footer --- */
.site-footer {
  background-color: var(--secondary);
  color: #cbd5e1;
  padding: 5.5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-col h5 {
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-col h5::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.footer-about p {
  color: #94a3b8;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all var(--transition-fast);
}

.footer-links a:hover {
  color: #ffffff;
  transform: translateX(4px);
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.footer-social-btn:hover {
  background: var(--primary);
  transform: translateY(-2px);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.875rem;
  color: #64748b;
}

.footer-payment-icons {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.5rem;
  color: #94a3b8;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 18px var(--primary-glow);
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all var(--transition-normal);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--primary-hover);
  transform: translateY(-3px);
}
