/* ===========================
   C3-NXT LP2 — Netflix-Style Overlay
   =========================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;600;700;800;900&family=Inter:wght@400;500;600&display=swap');

/* --- Custom Properties --- */
:root {
  --navy:        #1a1a5e;
  --navy-deep:   #0a0a2e;
  --navy-light:  #2a2a7e;
  --orange:      #f5a623;
  --orange-glow: #f7b84e;
  --red:         #c0392b;
  --red-light:   #e74c3c;
  --white:       #ffffff;
  --gray-100:    #f0f0f5;
  --gray-200:    #d0d0e0;
  --gray-400:    #8888aa;
  --gray-600:    #555577;
  --dark-bg:     #080820;
  --dark-surface:#0e0e30;
  --glass-bg:    rgba(26, 26, 94, 0.4);
  --glass-border:rgba(245, 166, 35, 0.18);

  --font-heading: 'Outfit', sans-serif;
  --font-body:    'Inter', sans-serif;

  --radius:     20px;
  --radius-sm:  10px;
  --shadow:     0 8px 32px rgba(0,0,0,0.35);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font-body);
  background: var(--dark-bg);
  color: var(--gray-100);
  line-height: 1.7;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
}

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

/* --- Utility --- */
.accent { color: var(--orange); }
.text-gradient {
  background: linear-gradient(135deg, var(--orange), var(--red-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Glass Panel --- */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  border: none;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--orange), var(--red));
  color: var(--white);
  box-shadow: 0 4px 24px rgba(245, 166, 35, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 36px rgba(245, 166, 35, 0.55);
}

.btn-outline {
  background: transparent;
  color: var(--orange);
  border: 2px solid var(--orange);
}
.btn-outline:hover {
  background: var(--orange);
  color: var(--navy-deep);
}

.btn-full { width: 100%; justify-content: center; }

/* ===========================
   NAVBAR
   =========================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(8, 8, 32, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 2px 24px rgba(0,0,0,0.5);
  padding: 12px 0;
}

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

.nav-logo img { height: 72px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--gray-200);
  position: relative;
  transition: var(--transition);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--orange);
  transition: var(--transition);
}
.nav-links a:hover { color: var(--orange); }
.nav-links a:hover::after { width: 100%; }

.nav-cta { padding: 10px 26px !important; font-size: 0.9rem !important; }
.nav-cta::after { display: none; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}
.hamburger span {
  width: 28px; height: 3px;
  background: var(--gray-100);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

/* ===========================
   HERO — Fixed, full viewport
   =========================== */
.hero {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100vh;
  z-index: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* Layered background */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 60% at 15% 50%, rgba(26,26,94,0.6) 0%, transparent 60%),
    radial-gradient(ellipse 50% 70% at 85% 70%, rgba(245,166,35,0.05) 0%, transparent 50%),
    var(--dark-bg);
}

/* Decorative orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: float 8s ease-in-out infinite;
}
.orb-1 { width: 500px; height: 500px; background: var(--navy-light); top: -150px; left: -120px; opacity: 0.35; }
.orb-2 { width: 350px; height: 350px; background: var(--orange); bottom: -100px; right: 15%; animation-delay: -4s; opacity: 0.08; }
.orb-3 { width: 250px; height: 250px; background: var(--red); top: 20%; right: 35%; animation-delay: -6s; opacity: 0.06; }

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(-25px) scale(1.04); }
}

/* Glowing ring behind mascot */
.hero-ring {
  position: absolute;
  right: 5%;
  bottom: 5%;
  width: 480px; height: 480px;
  border-radius: 50%;
  border: 2px solid rgba(245,166,35,0.08);
  background: radial-gradient(circle, rgba(245,166,35,0.06) 0%, transparent 65%);
  z-index: 1;
  animation: ringPulse 5s ease-in-out infinite;
}
.hero-ring::after {
  content: '';
  position: absolute;
  inset: -30px;
  border-radius: 50%;
  border: 1px solid rgba(245,166,35,0.04);
}

@keyframes ringPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.04); opacity: 0.7; }
}

/* Hero Content — left side */
.hero-content {
  position: relative;
  z-index: 3;
  max-width: 580px;
  padding-left: 12%;
  padding-top: 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 50px;
  background: rgba(245, 166, 35, 0.1);
  border: 1px solid rgba(245, 166, 35, 0.25);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--orange);
  margin-bottom: 28px;
  letter-spacing: 0.5px;
}

.hero h1 {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 900;
  margin-bottom: 22px;
  color: var(--white);
  letter-spacing: -0.5px;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--gray-400);
  margin-bottom: 40px;
  max-width: 460px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Mascot — anchored bottom-right, cornered */
.hero-mascot {
  position: absolute;
  right: 0;
  bottom: -4%;
  z-index: 2;
  pointer-events: none;
}

.hero-mascot img {
  height: 90vh;
  max-height: 780px;
  object-fit: contain;
  object-position: bottom right;
  filter: drop-shadow(-20px 0 80px rgba(245,166,35,0.1));
  animation: mascotFloat 7s ease-in-out infinite;
}

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

/* Decorative floating particles on hero */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--orange);
  opacity: 0;
  animation: particleDrift 8s linear infinite;
}

.particle:nth-child(1) { left: 20%; top: 30%; animation-delay: 0s; }
.particle:nth-child(2) { left: 50%; top: 60%; animation-delay: 2s; width: 4px; height: 4px; }
.particle:nth-child(3) { left: 70%; top: 20%; animation-delay: 4s; width: 5px; height: 5px; }
.particle:nth-child(4) { left: 35%; top: 70%; animation-delay: 6s; width: 3px; height: 3px; }
.particle:nth-child(5) { left: 80%; top: 45%; animation-delay: 1s; }

@keyframes particleDrift {
  0%   { opacity: 0; transform: translateY(0) scale(0); }
  20%  { opacity: 0.5; transform: translateY(-20px) scale(1); }
  80%  { opacity: 0.3; transform: translateY(-80px) scale(0.8); }
  100% { opacity: 0; transform: translateY(-120px) scale(0); }
}

/* Scroll indicator on hero */
.scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--gray-600);
  font-size: 0.75rem;
  font-family: var(--font-heading);
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-indicator .arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid var(--gray-600);
  border-bottom: 2px solid var(--gray-600);
  transform: rotate(45deg);
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
  50%      { transform: translateX(-50%) translateY(8px); opacity: 0.5; }
}

/* ===========================
   HERO SPACER — takes up hero height in flow
   =========================== */
.hero-spacer {
  height: 100vh;
  position: relative;
  z-index: 0;
}

/* ===========================
   CONTENT OVERLAY — slides over the hero
   =========================== */
.content-overlay {
  position: relative;
  z-index: 10;
  background: var(--dark-bg);
  border-radius: 32px 32px 0 0;
  box-shadow: 0 -20px 80px rgba(0,0,0,0.6);
  overflow: hidden;
}

/* Top edge gradient line accent */
.content-overlay::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--orange), var(--red-light), transparent);
  border-radius: 32px 32px 0 0;
}

/* ===========================
   SECTIONS (shared)
   =========================== */
section.overlay-section {
  padding: 100px 0;
  scroll-margin-top: 80px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--white);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray-400);
  max-width: 600px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-header .section-subtitle { margin: 0 auto; }

/* ===========================
   ABOUT
   =========================== */
.about {
  padding-top: 80px; /* extra top padding for the rounded overlay edge */
}

.about .container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.about-text p {
  color: var(--gray-400);
  margin-bottom: 20px;
}

.about-subheading {
  font-size: 1.2rem;
  color: var(--white);
  margin-top: 32px;
  margin-bottom: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.about-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.about-list li {
  color: var(--gray-400);
  padding-left: 20px;
  position: relative;
}

.about-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: bold;
}

.about-tagline {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.about-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.about-service-item {
  padding: 24px 16px;
  text-align: center;
  transition: var(--transition);
}
.about-service-item:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 166, 35, 0.35);
}

.about-service-icon { font-size: 2rem; display: block; margin-bottom: 12px; }

.about-service-item h4 {
  font-size: 0.95rem;
  color: var(--white);
  margin-bottom: 8px;
}

.about-service-item p {
  font-size: 0.82rem;
  color: var(--gray-400);
  margin-bottom: 0;
}

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

.about-logo-card {
  padding: 48px 36px;
  text-align: center;
  width: 100%;
}

.about-logo-card img { max-height: 130px; margin: 0 auto 24px; }

.tagline {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gray-200);
  font-style: italic;
}

/* ===========================
   VISION & MISSION
   =========================== */
.vision-mission {
  background: var(--dark-surface);
}

.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.vm-card {
  padding: 40px 32px;
  transition: var(--transition);
}
.vm-card:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 166, 35, 0.35);
  box-shadow: 0 12px 40px rgba(245, 166, 35, 0.08);
}

.vm-icon {
  font-size: 2.4rem;
  margin-bottom: 20px;
}

.vm-card h3 {
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 16px;
}

.vm-card p {
  color: var(--gray-400);
  margin-bottom: 14px;
}

.mission-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 4px;
}

.mission-item h4 {
  font-size: 0.95rem;
  color: var(--orange);
  margin-bottom: 4px;
}

.mission-item p {
  font-size: 0.9rem;
  color: var(--gray-400);
  margin-bottom: 0;
}

/* ===========================
   OUR PRODUCT
   =========================== */
.products-sub-title {
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 16px;
  text-align: center;
}

.products-desc {
  color: var(--gray-400);
  margin-bottom: 20px;
  max-width: 720px;
  text-align: center;
  margin-inline: auto;
}

.products-services { margin-bottom: 64px; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 28px;
}

.service-card {
  padding: 32px 20px;
  text-align: center;
  transition: var(--transition);
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 166, 35, 0.35);
}

.service-icon { font-size: 2rem; display: block; margin-bottom: 14px; }

.service-card h4 {
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 8px;
}

.service-card p {
  font-size: 0.85rem;
  color: var(--gray-400);
  margin-bottom: 0;
}

.products-original { margin-bottom: 64px; }

.original-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 28px;
}

.original-card {
  padding: 36px 24px;
  text-align: center;
  transition: var(--transition);
}
.original-card:hover {
  transform: translateY(-6px);
  border-color: rgba(245, 166, 35, 0.35);
  box-shadow: 0 12px 40px rgba(245, 166, 35, 0.08);
}

.original-icon {
  font-size: 2.8rem;
  margin-bottom: 16px;
  display: block;
}

.original-card h4 {
  font-size: 1.05rem;
  color: var(--white);
}

.products-ip { margin-top: 0; }

/* ===========================
   CANOPUS DISTRICT
   =========================== */
.canopus {
  background: var(--dark-surface);
}

.canopus-wrapper {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 56px;
  align-items: center;
}

.canopus-info p {
  color: var(--gray-400);
  margin-bottom: 16px;
}

.canopus-badge-card {
  padding: 48px 32px;
  text-align: center;
}

.canopus-collab {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.collab-label {
  font-size: 0.82rem;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.canopus-collab h4 {
  font-size: 1.3rem;
  color: var(--orange);
}

.collab-location {
  font-size: 0.95rem;
  color: var(--gray-400);
}

/* ===========================
   CONTACT
   =========================== */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.contact-info p {
  color: var(--gray-400);
  margin-bottom: 32px;
  max-width: 440px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(245,166,35,0.1);
  border: 1px solid rgba(245,166,35,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-item strong { display: block; color: var(--white); font-size: 0.9rem; margin-bottom: 2px; }
.contact-item a, .contact-item span { color: var(--gray-400); font-size: 0.9rem; }
.contact-item a:hover { color: var(--orange); }

/* Contact Form */
.contact-form { padding: 36px; }

.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--gray-200);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.04);
  color: var(--gray-100);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(245,166,35,0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--gray-600); }

.form-group textarea { resize: vertical; min-height: 100px; }

/* ===========================
   FOOTER
   =========================== */
.footer {
  background: var(--navy-deep);
  padding: 60px 0 30px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand img { height: 40px; margin-bottom: 16px; }
.footer-brand p { color: var(--gray-400); font-size: 0.9rem; max-width: 300px; }

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  color: var(--gray-400);
  font-size: 0.9rem;
  padding: 4px 0;
  transition: var(--transition);
}
.footer-col a:hover { color: var(--orange); padding-left: 6px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--gray-600);
  font-size: 0.85rem;
}

.social-links { display: flex; gap: 16px; }

.social-links a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition);
}
.social-links a:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--navy-deep);
}

/* ===========================
   SCROLL REVEAL ANIMATIONS
   =========================== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-group > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal-group.visible > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-group.visible > *:nth-child(2) { transition-delay: 0.15s; }
.reveal-group.visible > *:nth-child(3) { transition-delay: 0.25s; }
.reveal-group.visible > *:nth-child(4) { transition-delay: 0.35s; }
.reveal-group.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 1100px) {
  .hero-mascot img {
    height: 70vh;
  }
  .hero-ring {
    width: 380px; height: 380px;
  }
}

@media (max-width: 992px) {
  /* Hamburger nav for tablets */
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 280px; height: 100vh;
    flex-direction: column;
    background: var(--dark-surface);
    padding: 100px 40px 40px;
    gap: 24px;
    transition: right 0.4s ease;
    box-shadow: -8px 0 30px rgba(0,0,0,0.4);
  }
  .nav-links.active { right: 0; }
  .hamburger { display: flex; }

  /* Hero — center text, fade mascot */
  .hero-content {
    max-width: 100%;
    padding: 0 24px;
    text-align: center;
  }
  .hero-buttons { justify-content: center; }

  .hero-mascot {
    right: -15%;
    opacity: 0.25;
  }
  .hero-mascot img { height: 60vh; }
  .hero-ring { display: none; }

  .content-overlay {
    border-radius: 24px 24px 0 0;
  }

  /* Single-column grids */
  .about .container { grid-template-columns: 1fr; }
  .vm-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .original-grid { grid-template-columns: 1fr; }
  .canopus-wrapper { grid-template-columns: 1fr; }
  .contact-wrapper { grid-template-columns: 1fr; }
  .footer-content { grid-template-columns: 1fr 1fr; }

  .scroll-indicator { display: none; }
}

@media (max-width: 768px) {
  .footer-content { grid-template-columns: 1fr; }

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

  .hero h1 { font-size: 2rem; }
}
