/* ==========================================================================
   Tarcin Robotic LLP (tarcin.in) - Shared Styles & Animations
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

:root {
  --tarcin-blue: #2563eb;
  --tarcin-indigo: #4f46e5;
  --tarcin-navy: #0f172a;
  --tarcin-dark: #020617;
  --tarcin-slate: #475569;
  --tarcin-light: #f8fafc;
}

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

html {
  scroll-behavior: smooth;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #0f172a;
  background-color: #ffffff;
}

h1, h2, h3, h4, .font-heading {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
}

/* Moving Abstract Shapes & Floating Orbs */
@keyframes floatSlow {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(2deg); }
}

@keyframes floatReverse {
  0%, 100% { transform: translateY(0px) translateX(0px); }
  50% { transform: translateY(12px) translateX(-8px); }
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.45; transform: scale(1); }
  50% { opacity: 0.75; transform: scale(1.08); }
}

@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes spinReverseSlow {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

@keyframes marqueeScroll {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

.animate-float {
  animation: floatSlow 5s ease-in-out infinite;
}

.animate-float-delayed {
  animation: floatReverse 6s ease-in-out infinite 1.5s;
}

.animate-pulse-glow {
  animation: pulseGlow 4s ease-in-out infinite;
}

.animate-spin-slow {
  animation: spinSlow 28s linear infinite;
}

.animate-spin-reverse {
  animation: spinReverseSlow 34s linear infinite;
}

/* Infinite Partner Marquee */
.marquee-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 45s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

/* Scroll-Triggered Reveal Animations */
.reveal-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Hero Background Grid & Radial Gradient */
.hero-mesh {
  background-color: #060d1f;
  background-image: 
    radial-gradient(at 20% 25%, rgba(37, 99, 235, 0.28) 0px, transparent 55%),
    radial-gradient(at 80% 30%, rgba(79, 70, 229, 0.24) 0px, transparent 55%),
    radial-gradient(at 50% 85%, rgba(14, 165, 233, 0.18) 0px, transparent 50%),
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 100% 100%, 40px 40px, 40px 40px;
}

/* Glassmorphism & Card Elevations */
.glass-nav {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
}

.tarcin-card {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

.tarcin-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 35px -10px rgba(37, 99, 235, 0.12), 0 8px 16px -6px rgba(15, 23, 42, 0.06);
  border-color: rgba(37, 99, 235, 0.4);
}

/* Gradient Text */
.text-gradient-blue {
  background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 50%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-dark {
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 60%, #4f46e5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}



/* =========================================
   Institutional Partner Logos
   ========================================= */

.institution-logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100px;
  padding: 10px;
  overflow: hidden;
}

.institution-logo-container img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 200px;
  max-height: 150px;
  object-fit: contain;
  object-position: center;
  margin: 0 auto;
}

/* =========================================
   Industry Partner Logos
   ========================================= */

.industry-partner-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  min-width: 0;
}

.industry-partner-logo-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100px;
  padding: 100px;
  overflow: hidden;
}

.industry-partner-logo-box img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 180px;
  max-height: 70px;
  object-fit: contain;
  object-position: center;
}

/* Responsive sizing */

@media (max-width: 639px) {
  .institution-logo-container {
    height: 95px;
    padding: 8px;
  }

  .institution-logo-container img {
    max-width: 100px;
    max-height: 55px;
  }

  .industry-partner-logo-box {
    height: 80px;
    padding: 6px;
  }

  .industry-partner-logo-box img {
    max-width: 140px;
    max-height: 60px;
  }
}

/* Industry Partner Logo Container */
.industry-partner-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
}

.industry-partner-logo-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  overflow: hidden;
}

.industry-partner-logo-box img {
  display: block;
  max-width: 100%;
  max-height: 90px;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
}

.hero-video {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
    border-radius: 16px;
}
