/* The Creative Cruise - Global Styles & Custom Animations */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@500;700&display=swap');

:root {
  --brand-blue: #1c75bc;
  --brand-blue-hover: #16609c;
  --brand-blue-light: #38bdf8;
  --brand-blue-glow: rgba(28, 117, 188, 0.35);
  --bg-dark: #07090e;
  --bg-card: #0b0f17;
  --bg-card-border: rgba(255, 255, 255, 0.14);
  --text-white: #ffffff;
  --text-light: #f1f5f9;
  --text-muted: #cbd5e1;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-white);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  overflow-x: hidden;
  line-height: 1.6;
}

/* Custom Highlight text color #1c75bc */
.text-brand {
  color: var(--brand-blue) !important;
}

.text-brand-glow {
  color: #38bdf8;
  text-shadow: 0 0 15px rgba(28, 117, 188, 0.4);
}

/* Custom Button #1c75bc */
.btn-brand {
  background-color: var(--brand-blue);
  color: #ffffff;
  font-weight: 700;
  border-radius: 9999px;
  padding: 0.75rem 1.75rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 18px var(--brand-blue-glow);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-brand:hover {
  background-color: #238be0;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(28, 117, 188, 0.6);
}

.btn-brand:active {
  transform: translateY(0);
}

.btn-outline-brand {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 9999px;
  padding: 0.75rem 1.75rem;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-outline-brand:hover {
  background: var(--brand-blue);
  color: #ffffff;
  border-color: var(--brand-blue);
  box-shadow: 0 0 20px var(--brand-blue-glow);
}

/* ================= SLEEK OCEAN WAVE NAVBAR ================= */
.wave-navbar-wrapper {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  transition: transform 0.3s ease;
}

.wave-navbar-content {
  background-color: var(--brand-blue);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.wave-svg-divider {
  display: block;
  width: 100%;
  height: 20px;
  transform: translateY(-1px);
}

/* Subtle white/soft ambient glows instead of heavy blue fog */
.ambient-glow-1 {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, rgba(28, 117, 188, 0.06) 40%, rgba(7, 9, 14, 0) 70%);
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}

.ambient-glow-2 {
  position: absolute;
  top: 60%;
  right: -5%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.04) 0%, rgba(28, 117, 188, 0.04) 50%, rgba(7, 9, 14, 0) 70%);
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}

/* Crisp neutral grid pattern */
.bg-grid-pattern {
  background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 32px 32px;
}

/* Course Card styling: Dark obsidian with crisp white borders & high contrast */
.course-card {
  background: linear-gradient(180deg, #0e131d 0%, #080c14 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 1.5rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.course-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #ffffff, var(--brand-blue), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.course-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.7), 0 0 25px rgba(28, 117, 188, 0.25);
}

.course-card:hover::before {
  opacity: 1;
}

.small-icon-box {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.tool-chip {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  padding: 0.35rem 0.8rem;
  border-radius: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.2s ease;
}

.tool-chip:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

/* ================= WHY US AUTOMATIC ROTATING BOXES ================= */
.why-us-rotator-wrapper {
  position: relative;
  min-height: 440px;
  width: 100%;
}

.why-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(145deg, #101522, #090d16);
  border: 2px solid rgba(255, 255, 255, 0.14);
  border-radius: 1.5rem;
  padding: 2.25rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
  opacity: 0;
  pointer-events: none;
  transform: translateY(30px) scale(0.95);
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.34, 1.25, 0.64, 1), border-color 0.4s ease;
  z-index: 1;
}

.why-card.active {
  opacity: 1 !important;
  pointer-events: auto !important;
  transform: translateY(0) scale(1) !important;
  z-index: 20 !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 25px rgba(28, 117, 188, 0.25) !important;
}

.why-card.next {
  opacity: 0.25;
  pointer-events: none;
  transform: translateY(35px) scale(0.94);
  z-index: 10;
}

.why-card.prev {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-25px) scale(0.94);
  z-index: 5;
}

/* Auto-rotation live progress bar */
.rotator-timer-bar {
  height: 3px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 9999px;
  overflow: hidden;
  margin-bottom: 1.25rem;
  position: relative;
}

.rotator-timer-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #ffffff, var(--brand-blue));
  box-shadow: 0 0 8px #ffffff;
  border-radius: 9999px;
  transition: width 0.05s linear;
}

.rotator-indicator-dot {
  width: 12px;
  height: 12px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-block;
}

.rotator-indicator-dot.active {
  width: 38px;
  background: #ffffff;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
}

/* ================= STEP-BY-STEP ROADMAP (PRECISION SCROLL-FILL PATH) ================= */
.roadmap-step {
  position: relative;
  z-index: 5;
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Solid, prominent grey background track (placed behind number circles) */
.roadmap-track-grey {
  position: absolute;
  width: 6px;
  background: #374151; /* Distinct visible grey path line */
  border-radius: 9999px;
  z-index: 1;
  pointer-events: none;
}

/* Dynamic colored fill line: fills bright green & brand blue as you scroll */
.roadmap-fill-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0px;
  background: linear-gradient(180deg, #1c75bc 0%, #10b981 100%);
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.9), 0 0 8px #10b981;
  border-radius: 9999px;
  transition: height 0.15s ease-out;
  z-index: 1;
}

/* Default number circle: fully opaque dark with grey border, passes in front of the line */
.step-number-circle {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 9999px;
  background-color: #0d131f !important; /* Fully opaque so line stays behind */
  border: 3px solid #4b5563; /* Default grey border */
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.25rem;
  color: #9ca3af;
  position: relative;
  z-index: 10;
  flex-shrink: 0;
  transition: all 0.35s cubic-bezier(0.34, 1.3, 0.64, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

/* ACTIVE CIRCLE: Lights up in vibrant green with radiant glow! */
.step-number-circle.circle-active {
  background-color: #10b981 !important;
  border-color: #6ee7b7 !important;
  color: #ffffff !important;
  box-shadow: 0 0 28px rgba(16, 185, 129, 0.95), 0 0 12px #10b981 !important;
  transform: scale(1.12);
}

.roadmap-card-box {
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.roadmap-step.step-active .roadmap-card-box {
  border-color: rgba(16, 185, 129, 0.7) !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7), 0 0 25px rgba(16, 185, 129, 0.25) !important;
}

.hire-feature-card {
  background: linear-gradient(145deg, #101625, #080c14);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 1.25rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.hire-feature-card:hover {
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.modal-backdrop {
  background: rgba(3, 7, 18, 0.88);
  backdrop-filter: blur(10px);
}

/* ================= COURSES DROPDOWN SUBMENU ================= */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: -20px;
  padding-top: 0.75rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1), transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.22s;
  z-index: 100;
  min-width: 350px;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-inner {
  background: #090e18;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1rem;
  padding: 0.85rem;
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.85), 0 0 25px rgba(28, 117, 188, 0.25);
  backdrop-filter: blur(20px);
}

.nav-sub-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.75rem;
  border-radius: 0.75rem;
  transition: all 0.2s ease;
  text-decoration: none;
}

.nav-sub-item:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(4px);
}

#course-gd-video, #course-video-editing, #courses, #why-us, #career-roadmap, #hire-from-us, #contact {
  scroll-margin-top: 110px;
}

/* ================= MOBILE VIEW PROPER CENTER & POLISH ================= */
@media (max-width: 768px) {
  .hire-feature-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .why-us-rotator-wrapper {
    min-height: 510px;
  }
  .why-card {
    padding: 1.5rem 1.15rem;
    text-align: center;
  }
  .tool-chip {
    font-size: 0.75rem;
    padding: 0.3rem 0.65rem;
  }
}

/* ================= RESPONSIVE COUNSELLOR FLOATING WIDGET ================= */
#counsellorFloatingWidget {
  z-index: 60 !important;
}

@supports (bottom: env(safe-area-inset-bottom)) {
  #counsellorFloatingWidget {
    bottom: max(0.75rem, env(safe-area-inset-bottom, 0.75rem));
  }
}


