/* css/style.css */

/* Fonts */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&family=Source+Sans+3:wght@400;600&family=Nunito:wght@400;600;700;800&display=swap");

:root {
  --primary-color: #00b4d8;
  --accent-color: #0077b6;
  --secondary-color: #174471;
  --light-bg: #f8f9fa;
  --text-dark: #333333;
  --text-light: #969292;
  --border-color: #e0e0e0;

  /* Footer Variables */
  --bg-dark: #0d1117;
  --bg-card: #161b22;
  --bg-lighter: #2168af;
  --accent-blue: #1565c0;
  --text-muted-custom: #8b949e;
  --footer-border: rgba(255, 255, 255, 0.08);

  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
}

/* ================= GLOBAL ================= */
html,
body {
  height: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 150px;
}

body {
  display: flex;
  flex-direction: column;

  font-family: "Segoe UI", system-ui, sans-serif;
  padding-top: 70px; /* header ke liye space */
  background-color: #f4f7fa;
  color: #1c1c1c;
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: 150px;
}

/* ================= PROFESSIONAL HEADER ================= */

.custom-navbar {
  background: var(--secondary-color);
  padding: 14px 0;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.18);
  transition: all 0.3s ease;
}

/* Brand Logo / Company Name */
.navbar-brand {
  /* font-family: "Playfair Display", serif; */
  font-family: "Segoe UI", system-ui, sans-serif;
  font-weight: 800;
  font-size: 1.7rem;
  letter-spacing: -0.5px;

  font-size: 30px;
  color: #e6cfd3; /*Soft light text for contrast */
  /* color:var(--secondary-color); */
  letter-spacing: 1px;
  text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
  .title {
    font-size: 36px;
  }
}

/* Navbar Menu */
.navbar-nav {
  gap: 22px;
}

/* Menu Links */
.nav-link {
  font-size: 17px;
  font-weight: 600;
  color: var(--border-color) !important;
  padding: 10px 18px !important;
  border-radius: 6px;
  transition: all 0.3s ease;
}

/* Hover Effect */
.nav-link:hover {
  color: var(--primary-color) !important;
}

/* ==================== Dropdown Styling ==================== */
.dropdown-toggle::after {
  display: none;
}

.dropdown-toggle {
  position: relative;
}

.dropdown-toggle::before {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 0.6rem;
  vertical-align: 0.2em;
  opacity: 0.7;
  transition: var(--transition);
}

.dropdown-toggle[aria-expanded="true"]::before {
  opacity: 1;
  transform: scale(1.25);
}

.dropdown-menu {
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  margin-top: 0rem;
  animation: dropdownSlide 0.3s ease-out;
}

@keyframes dropdownSlide {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dropdown-item {
  padding: 0.75rem 1.5rem;
  color: var(--primary-color);
  font-weight: 500;
  transition: var(--transition);
}

/* ==================== Hover Dropdown ==================== */

.dropdown[data-hover="true"]:hover > .dropdown-toggle {
  color: var(--primary-color) !important;
}

.dropdown[data-hover="true"]:hover > .dropdown-menu {
  display: block !important;
  animation: dropdownSlide 0.3s ease-out;
}

/* Auto show dropdown on hover for desktop */
@media (min-width: 992px) {
  .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
  }

  .dropdown:hover > .dropdown-menu {
    display: block !important;
  }

  .dropdown > .dropdown-menu:hover {
    display: block !important;
  }
}

.dropdown-toggle {
  padding-bottom: 0.5rem;
}

/* ================= HERO SECTION ================= */
.hero-section {
  background: linear-gradient(135deg, #0a2540, #001f3f);
  padding: 120px 0;
}

.hero-title {
  font-size: 48px;
  font-weight: 700;
  color: #ffffff;
}

.hero-text {
  font-size: 18px;
  margin: 25px 0;
  color: #d9e3f0;
  max-width: 520px;
}

/* Outline Button */
.btn-outline-primary {
  border: 2px solid #00b4d8;
  color: #00b4d8;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
}

.btn-outline-primary:hover {
  background: #00b4d8;
  color: #fff;
}

/* ================= FEATURES ================= */
.features-section {
  padding: 90px 0;
  background: #f4f7fa;
}

.feature-card {
  background: #ffffff;
  padding: 45px 30px;
  border-radius: 18px;
  box-shadow: 0 15px 40px rgba(10, 37, 64, 0.08);
  transition: 0.4s;
  border-top: 6px solid #00b4d8;
}

.feature-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 60px rgba(10, 37, 64, 0.15);
}

.feature-card i {
  font-size: 50px;
  color: #00b4d8;
  margin-bottom: 25px;
}

.feature-card h4 {
  font-weight: 700;
  color: #0a2540;
}

/* ================= WEBINAR SECTION ================= */

/* =========================
   Cards
========================= */
.card {
  border-radius: var(--radius);
  border: 1px solid rgba(17, 24, 39, 0.08);
  background: #ffffff;
  transition: all 300ms ease;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

/* Card Hover Effect */
.card-hover:hover {
  transform: translateY(-6px);
  border-color: #0ea5e9;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* =========================
   Speaker Avatar
========================= */
.avatar {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 50%;
  background: #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: #374151;
}

/* =========================
   Badges
========================= */
.badge-industry {
  background: linear-gradient(135deg, #e0f2fe, #bae6fd);
  color: #0369a1;
  border: 1px solid rgba(14, 165, 233, 0.3);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* =========================
   Status Dots
========================= */
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  position: relative;
}

/* Upcoming (Red Pulse) */
.dot-upcoming {
  background: #ef4444;
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.8);
  animation: pulse-red 1.5s infinite;
}

/* Available (Green Pulse + Glow) */
.dot-available {
  background: #087b32;
  animation: pulse-green 1.5s infinite;
}

/* Pulse Animations */
@keyframes pulse-green {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.4);
    opacity: 0.6;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes pulse-red {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.4);
    opacity: 0.6;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* =========================
   Brand Buttons
========================= */

.btn-brand {
  background: var(--primary-color);
  border: 1px solid var(--primary-color);
  color: #ffffff;
  border-radius: 999px;
  padding: 0.7rem 1.6rem;
  font-weight: 600;
  letter-spacing: 0.2px;
  transition: all 300ms ease;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.35);
}

/* Hover Effect */
.btn-brand:hover {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.45);
  transform: translateY(-2px);
}

/* Active Press Effect */
.btn-brand:active {
  transform: scale(0.96);
  box-shadow: 0 6px 14px rgba(37, 99, 235, 0.3);
}

/* Outline Light Pill Button */
.btn-outline-light.rounded-pill {
  border-radius: 999px;
  padding: 0.65rem 1.5rem;
  transition: all 300ms ease;
  font-weight: 600;
}

/* Hover Effect for Outline Button */
.btn-outline-light.rounded-pill:hover {
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 20px rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

/* Active Press */
.btn-outline-light.rounded-pill:active {
  transform: scale(0.96);
}

/* =========================
   Webinar Slider
========================= */

/* =========================
   FOOTER
========================= */

footer {
  background-color: var(--bg-dark);
  color: var(--text-light);
  padding-top: 50px;
  padding-bottom: 0;
  /* font-family: "Playfair Display", serif; */
  font-family: "Segoe UI", system-ui, sans-serif;
}

main {
  flex: 1;
}

/* Brand */
.footer-brand .brand-hr {
  color: var(--accent-blue);
  font-weight: 800;
  font-size: 1.7rem;
  letter-spacing: -0.5px;
}

.footer-brand .brand-train {
  color: #fff;
  font-weight: 800;
  font-size: 1.8rem;
}

.footer-brand address {
  font-style: normal;
  color: var(--text-muted-custom);
  font-size: 0.975rem;
  line-height: 1.75;
}

.footer-brand address .divider {
  border-top: 1px solid var(--footer-border);
  margin: 12px 0;
}

.footer-brand address a {
  color: #58a6ff;
  text-decoration: none;
}

.footer-brand address a:hover {
  text-decoration: underline;
}

/* Links Column */
.footer-heading {
  font-weight: 700;
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: 0.3px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links li a {
  color: var(--text-muted-custom);
  text-decoration: none;
  font-size: 1.075rem;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}

.footer-links li a::before {
  content: "›";
  font-size: 1.1rem;
  color: var(--accent-green);
  line-height: 1;
}

.footer-links li a:hover {
  color: #fff;
}

/* Safe & Secure — Stripe */
.stripe-img-wrap {
  background-color: var(--bg-dark);
  border-radius: 7px;
  padding: 6px 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.stripe-img-wrap small {
  font-size: 0.6rem;
  color: #555;
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
}

.stripe-img-wrap img {
  height: 26px;
  width: auto;
}

/* Card Logos */
.card-badges {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 14px;
}

.card-badges img {
  height: 28px;
  width: auto;
  border-radius: 4px;
  background-color: var(--bg-dark);
  padding: 2px 4px;
  object-fit: contain;
}

/* GoDaddy Badge
.godaddy-img-wrap {
  background-color: var(--bg-dark);
  border-radius: 7px;
  padding: 8px 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.godaddy-img-wrap img.godaddy-logo {
  height: 32px;
  width: auto;
}

.godaddy-img-wrap .gd-text {
  font-size: 0.6rem;
  text-transform: uppercase;
  color: #333;
  font-weight: 700;
  letter-spacing: 0.4px;
  line-height: 1.4;
}

.godaddy-img-wrap .gd-link {
  font-size: 0.58rem;
  color: #0070c9;
  text-decoration: underline;
  cursor: pointer;
} */

/* Newsletter */
.newsletter-desc {
  color: var(--text-muted-custom);
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.newsletter-input {
  background: var(--bg-card);
  border: 1px solid var(--footer-border);
  color: #fff;
  border-radius: 5px;
  padding: 10px 14px;
  font-size: 0.875rem;
  width: 100%;
  outline: none;
  margin-bottom: 10px;
  transition: border-color 0.2s;
  font-family: "Nunito", sans-serif;
}

.newsletter-input::placeholder {
  color: var(--text-muted-custom);
}

.newsletter-input:focus {
  border-color: var(--accent-blue);
}

.btn-subscribe {
  background-color: var(--accent-blue);
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 10px 28px;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease;
  font-family: "Nunito", sans-serif;
  width: 100%;
}

.btn-subscribe:hover {
  background-color: #1976d2;
}

/* Footer Bottom Bar */
.footer-bottom {
  border-top: 1px solid var(--footer-border);
  margin-top: 48px;
  padding: 18px 0;
  text-align: center;
  color: var(--text-muted-custom);
  font-size: 1.12rem;
}

@media (max-width: 767px) {
  .footer-brand,
  .footer-col {
    margin-bottom: 36px;
  }
}

/* =========================
   Webinar Summary Strip
========================= */

.webinar-summary-strip {
  display: grid;
  grid-template-columns: 180px 1fr;
  border: 1px solid #dde5f1;
  border-radius: 14px;
  overflow: hidden;
  background: #ffffff;
}

.speaker-summary-panel {
  background: linear-gradient(180deg, #eef1fb 0%, #e5e9f8 100%);
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 150px;
}

.speaker-summary-photo {
  width: 78px;
  height: 78px;
  object-fit: cover;
  border-radius: 12px;
  border: 3px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 28px rgba(23, 68, 113, 0.14);
}

.speaker-summary-name {
  margin-top: 12px;
  font-size: 1.08rem;
  font-weight: 600;
  color: #1d5ed8;
  line-height: 1.35;
}

.summary-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: #ffffff;
}

.summary-meta-item {
  padding: 20px 22px;
  border-left: 1px solid #e8edf5;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 76px;
}

.summary-meta-item:nth-child(1) {
  border-left: 0;
}

.summary-meta-label {
  font-size: 0.98rem;
  font-weight: 500;
  color: #5e6b7f;
  margin-bottom: 4px;
}

.summary-meta-value {
  font-size: 1.09rem;
  font-weight: 700;
  color: #20324d;
  line-height: 1.35;
}

@media (max-width: 767.98px) {
  .webinar-summary-strip {
    grid-template-columns: 1fr;
  }

  .speaker-summary-panel {
    min-height: auto;
  }

  .summary-meta-grid {
    grid-template-columns: 1fr;
  }

  .summary-meta-item {
    border-left: 0;
    border-top: 1px solid #e8edf5;
  }
}

/* =========================
   Payment Cancel Styles
========================= */

.final-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  border-radius: 18px;
}

.final-wrapper {
  width: 100%;
  max-width: 500px;
}

/* top accent */
.card-accent {
  height: 5px;
  background: linear-gradient(90deg, #1a3a5c 0%, #2e86c1 100%);
}

/* icon + title */
.card-header {
  padding: 2.25rem 2rem 1.5rem;
  text-align: center;
}

.icon-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #fef9ec;
  border: 1.5px solid #f0c060;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.1rem;
}

.icon-circle svg {
  width: 32px;
  height: 32px;
}

.card-header h1 {
  font-size: 21px;
  font-weight: 600;
  color: #1a2c3e;
  margin-bottom: 7px;
}

.card-header p {
  font-size: 17.5px;
  line-height: 1.6;
}

/* .divider {
  height: 1px;
  background: #e8edf3;
  margin: 0 2rem;
} */

/* status row */
.status-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.4rem 2rem;
  gap: 10px;
}

.status-col {
  flex: 1;
  text-align: center;
}

.status-col .label {
  font-size: 10.5px;
  color: #8a97a8;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 7px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 500;
  padding: 4px 13px;
  border-radius: 30px;
}

.pill-yellow {
  background: #fef9ec;
  color: #7d6008;
  border: 1px solid #f0d080;
}

.pill-blue {
  background: #eaf4fb;
  color: #1a5276;
  border: 1px solid #aed6f1;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
}

.dot-yellow {
  background: #c0922a;
}

.dot-blue {
  background: #2e86c1;
}

.amount-val {
  font-size: 15px;
  font-weight: 600;
  color: #1a2c3e;
}

.vr {
  width: 1px;
  height: 36px;
  background: #e8edf3;
  flex-shrink: 0;
}

/* notice box */
.notice {
  margin: 0.25rem 2rem 1rem;
  background: #fef9ec;
  border: 1px solid #f0d890;
  border-radius: 10px;
  padding: 0.9rem 1rem;
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.notice svg {
  flex-shrink: 0;
  margin-top: 2px;
  width: 15px;
  height: 15px;
}

.notice p {
  font-size: 13px;
  color: #7d6008;
  line-height: 1.65;
}

/* buttons */
.btn-group1 {
  padding: 0.25rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn2 {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition:
    opacity 0.15s,
    transform 0.1s;
}

.btn2:active {
  transform: scale(0.98);
}

.btn1-primary {
  background: #1a3a5c;
  color: #ffffff;
}

.btn1-primary:hover {
  background: #1f4878;
}

/*payment footer strip */
.card-footer {
  border-top: 1px solid #e8edf3;
  background: #f8fafc;
  padding: 0.8rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.card-footer svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

.card-footer span {
  font-size: 12px;
  color: #8a97a8;
}

/* =================
  Newletter POP-Up 
==================== */

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(241, 238, 238, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.popup-box {
  background: #0f172a;
  padding: 30px;
  border-radius: 16px;
  text-align: center;
  width: 300px;
  animation: scaleIn 0.3s ease;
}

.popup-message {
  color: var(--light-bg);
}

.popup-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 15px;
  border-radius: 50%;
  position: relative;
}

/* ✅ SUCCESS (Green Tick) */
.success {
  border: 3px solid #22c55e;
}

.success::after {
  content: "✔";
  color: #22c55e;
  font-size: 40px;
  position: absolute;
  top: 5px;
  left: 25px;
  animation: pop 0.4s ease;
}

/* ❌ ERROR (Red Cross) */
.error {
  border: 3px solid #ef4444;
}

.error::after {
  content: "✖";
  color: #ef4444;
  font-size: 40px;
  position: absolute;
  top: 6px;
  left: 20px;
  animation: pop 0.4s ease;
}

/* ✅ INFO (Already Subscribed) */
.info {
  border: 3px solid #3b82f6;
}

.info::after {
  content: "ℹ️";
  color: #3b82f6;
  font-size: 25px;
  position: absolute;
  top: 20px;
  left: 21px;
  animation: pop 0.4s ease;
}

/* Animations */
@keyframes scaleIn {
  from {
    transform: scale(0.7);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes pop {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}

#speakerBioPhoto {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ================= BUY BOX STICKY FIX ================= */

/* Desktop: sticky — scrolls with page, stops naturally before footer */
@media (min-width: 993px) {
  .buy-sticky {
    position: sticky;
    top: 90px; /* header height ke baad se chipakta hai */
    height: fit-content;
    z-index: 100;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
  }
}

/* Mobile/Tablet: normal flow */
@media (max-width: 992px) {
  .buy-sticky {
    position: static;
    width: 100%;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.10);
    border-radius: 12px;
  }
}