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

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

:root {
  --primary-color: #0d9488;
  --primary-hover: #0f766e;
  --secondary-color: #0f172a;
  --bg-color: #f8fafc;
  --text-dark: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --white: #ffffff;
  --surface-color: rgba(255, 255, 255, 0.95);
  --border-radius: 16px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.06), 0 2px 8px rgba(0,0,0,0.04);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.04);
  --shadow-xl: 0 24px 60px rgba(0,0,0,0.1), 0 8px 20px rgba(0,0,0,0.06);
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.3);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.7;
  color: var(--text-dark);
  background-color: var(--bg-color);
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  flex: 1;
}

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

ul {
  list-style: none;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Poppins', sans-serif;
  color: var(--secondary-color);
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2rem, 5vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 700;
}

h3 {
  font-size: clamp(1.25rem, 3vw, 2rem);
  font-weight: 700;
}

p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
  line-height: 1.75;
}

/* Card hover utility */
.grid-cols-2 > div,
.grid-cols-3 > div {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.grid-cols-3 > div:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

/* =============================================
   GLOBAL COLOR UNIFORMITY
   All pages match the index page aesthetic
   ============================================= */
li {
  color: var(--text-dark);
  font-size: 1rem;
  line-height: 1.8;
}

section h1, section h2 {
  color: var(--secondary-color);
}

section h3, section h4 {
  color: var(--secondary-color);
}

/* Page hero titles on inner pages */
.section h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  position: relative;
  display: inline-block;
  padding-bottom: 0.5rem;
}

.section h1::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--primary-color);
  border-radius: 2px;
}

.vibrant-hero-title {
  color: #ffffff;
  background: linear-gradient(90deg, #ffffff 0%, #7DF9FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 25px rgba(0, 255, 255, 0.5), 0 0 10px rgba(16, 185, 129, 0.4);
}

/* Uniform card paragraph text — matches index 'Partner with us' section */
.section p, .section li {
  color: #334155;
}

/* h2/h3 on inner pages match index section headings */
.section h2,
.section h3,
.section h4 {
  color: #0f172a;
}

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

/* Layout Classes */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 5rem 0;
}

@media (max-width: 768px) {
  .section {
    padding: 3rem 0;
  }
}

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

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

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

@media (min-width: 768px) {
  .grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }

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

/* Utility styles for image alignment */
.img-cover {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
}

.img-cover-sm {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
}

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--white);
  border-bottom: 3px solid #0f172a;
  box-shadow: 0 2px 20px rgba(13,148,136,0.08);
  transition: var(--transition);
  height: 80px;
}

/* Vibrant accent glow line under header */
.header::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #0d9488, #10b981, #00d2ff, #0d9488);
  background-size: 200% 100%;
  animation: headerGlow 4s ease infinite;
  z-index: 0;
  pointer-events: none;
}

@keyframes headerGlow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.header.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,0.08), 0 1px 12px rgba(13,148,136,0.1);
  height: 70px;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  transition: var(--transition);
}

.logo {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.55rem;
  font-weight: 900;
  text-transform: none;
  letter-spacing: 0.03em;
  color: var(--white);
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 2.5rem;
  margin-left: -2rem;
  position: relative;
  white-space: nowrap;
}

/* Extend navy block to the left edge of the viewport */
.logo::before {
  content: '';
  position: absolute;
  top: 0;
  right: 100%;
  width: 100vw;
  height: 100%;
  background: inherit;
}

.logo:hover {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  color: white;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-item {
  position: relative;
  font-weight: 600;
  color: #1e293b; /* Dark text for white header */
  text-transform: uppercase;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
}

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

.nav-item::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

.nav-item:hover::after,
.nav-item.active::after {
  width: 100%;
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  cursor: pointer;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--white);
  min-width: 220px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.05);
  z-index: 1001;
}

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

.dropdown-item {
  display: block;
  padding: 0.75rem 1.5rem;
  color: var(--text-dark);
  font-weight: 500;
  text-transform: uppercase;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  transition: background 0.2s ease, color 0.2s ease;
}

.dropdown-item:hover {
  background: rgba(13, 148, 136, 0.05);
  color: var(--primary-color);
}

/* Hamburger Menu (Mobile) */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2.5px;
  background-color: #0f172a;
  margin-bottom: 5px;
  transition: var(--transition);
  border-radius: 2px;
}

.hamburger span:last-child {
  margin-bottom: 0;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 1024px) {
  .logo {
    font-size: clamp(0.85rem, 3.5vw, 1.3rem);
    padding: 0 1rem;
    margin-left: -2rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 70vw;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    left: auto;
    width: 300px;
    height: 100vh;
    background: var(--secondary-color);
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    padding: 80px 2rem 2rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    gap: 0.5rem;
    z-index: 999;
    overflow-y: auto;
  }

  .nav-item {
    width: 100%;
    padding: 0.75rem 0;
    display: block;
    font-size: 1.1rem;
  }

  .nav-item::after {
    display: none;
    /* Hide bottom line hover effect on mobile */
  }

  .dropdown {
    width: 100%;
  }

  .nav-links.active {
    right: 0;
    left: auto;
  }

  .nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
  }

  .nav-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  .hamburger {
    display: block;
  }

  .dropdown-menu {
    position: static !important;
    transform: none !important;
    box-shadow: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: none;
    padding: 0 0 0.5rem 0;
    background: transparent;
    border: none;
    min-width: auto;
    left: auto !important;
  }

  .dropdown.active .dropdown-menu {
    display: block !important;
  }

  .dropdown-item {
    display: block;
    padding: 0.5rem 1rem 0.5rem 0;
    font-size: 0.95rem;
    color: var(--white);
    transition: all 0.2s ease;
    white-space: normal;
    word-wrap: break-word;
    text-align: right;
    line-height: 1.4;
  }

  .dropdown-item:hover,
  .dropdown-item.active {
    background: transparent;
    color: var(--primary-color);
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2.25rem;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.03em;
  font-size: 0.95rem;
}

.btn-primary {
  background: #0f172a;
  color: var(--white);
  box-shadow: 0 4px 14px 0 rgba(15, 23, 42, 0.3);
}

.btn-primary:hover {
  background: #1e293b;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.4);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-outline:hover {
  background: var(--primary-color);
  color: var(--white);
}

/* Chatbot Widget */
.chatbot-widget {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  pointer-events: none;
  /* Let all clicks pass right through the invisible container! */
}

.chatbot-toggle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #0f172a;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  pointer-events: auto;
  /* Catch clicks for just the button */
}

.chatbot-toggle:hover {
  transform: scale(1.05) translateY(-5px);
  background: #1e293b;
}

.chatbot-toggle svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.chatbot-window {
  width: 350px;
  height: 500px;
  max-height: 80vh;
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  margin-bottom: 1rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
  transform-origin: bottom right;
}

.chatbot-window.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
  /* Catch clicks inside the open window */
}

.chatbot-header {
  background: var(--primary-color);
  color: white;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chatbot-header h3 {
  margin: 0;
  font-size: 1.1rem;
  color: white;
}

.chatbot-close {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chatbot-messages {
  flex: 1;
  padding: 1rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: #f1f5f9;
}

.message {
  max-width: 80%;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  font-size: 0.9rem;
  line-height: 1.4;
}

.message.bot {
  background: var(--white);
  color: var(--text-dark);
  align-self: flex-start;
  border-bottom-left-radius: 0;
  box-shadow: var(--shadow-sm);
}

.message.user {
  background: var(--primary-color);
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 0;
}

.chatbot-input {
  padding: 1rem;
  background: var(--white);
  border-top: 1px solid #e2e8f0;
}

.chatbot-form {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 0.25rem;
}

.chatbot-form input[type="text"] {
  flex: 1;
  border: none;
  background: transparent;
  padding: 0.5rem 0.75rem;
  outline: none;
  font-size: 0.9rem;
}

.chatbot-file-upload {
  cursor: pointer;
  padding: 0.5rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.chatbot-file-upload:hover {
  color: var(--primary-color);
}

.chatbot-file-upload input {
  display: none;
}

.chatbot-send {
  background: #0f172a;
  color: white;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.chatbot-send:hover {
  background: #1e293b;
}

/* Footer */
footer {
  background: var(--secondary-color);
  color: var(--white);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.footer-col p {
  color: #94a3b8;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: #94a3b8;
}

.footer-links a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #64748b;
  font-size: 0.9rem;
}

/* Utility Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-up {
  animation: fadeInUp 0.8s ease forwards;
}

/* Hero Section Base Default */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  overflow: hidden;
}



/* Premium Hero Variant */
.hero-premium {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: radial-gradient(circle at 70% 30%, #1e293b 0%, #0f172a 100%);
  overflow: hidden;
}

.hero-premium::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 2px 2px, rgba(13, 148, 136, 0.1) 1px, transparent 0);
  background-size: 40px 40px;
  opacity: 0.5;
}

.hero-premium .hero-content {
  position: relative;
  z-index: 10;
  max-width: 1000px;
  padding: 0 2rem;
}

.hero-premium h1 {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
}

.hero-premium p {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--text-light);
  max-width: 750px;
  margin: 0 auto 3rem;
  line-height: 1.6;
}

.hero-premium .btn-primary {
  padding: 1.25rem 3rem;
  font-size: 1.1rem;
  background: var(--primary-color);
  box-shadow: 0 0 20px rgba(13, 148, 136, 0.4);
}

.hero-premium .btn-primary:hover {
  background: var(--primary-hover);
  box-shadow: 0 0 30px rgba(13, 148, 136, 0.6);
  transform: translateY(-3px);
}

/* removed .hero-content per user */

.hero-content h1 {
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
}

.hero-content p {
  color: #475569;
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

/* Helper spacing */
.mt-4 {
  margin-top: 1rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.py-5 {
  padding: 3rem 0;
}

/* Gallery Slider */
.gallery-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 1;
}

.slide.active {
  opacity: 1;
  z-index: 2;
}

.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.3);
  color: white;
  border: none;
  font-size: 2rem;
  padding: 0.5rem;
  cursor: pointer;
  z-index: 4;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.slider-nav:hover {
  background: rgba(13, 148, 136, 0.8);
}

.slider-prev {
  left: 20px;
}

.slider-next {
  right: 20px;
}

.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 4;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background 0.3s;
}

.dot.active {
  background: var(--primary-color);
}

/* Mobile Responsiveness Overrides */
@media (max-width: 768px) {
  .chatbot-widget {
    bottom: 1rem;
    right: 1rem;
  }

  .chatbot-toggle {
    width: 50px;
    height: 50px;
  }

  .chatbot-window {
    width: calc(100vw - 2rem);
    right: 0;
    bottom: 65px;
    max-height: 60vh;
  }

  .slider-nav {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }

  /* Shift slider navigation up slightly to avoid chatbot overlap */
  .slider-prev,
  .slider-next {
    top: 40%;
  }
}

/* Hero Buttons */
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

/* Team Card Styling */
.team-card {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.08);
  /* Bigger, softer shadow */
  transition: all 0.5s ease;
  border: 1px solid rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.team-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
  z-index: -1;
}

.team-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: var(--primary-color);
  transform: scaleX(0);
  transition: transform 0.4s ease;
  transform-origin: left;
}

.team-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 40px -10px rgba(13, 148, 136, 0.2);
  /* Colored shadow */
}

.team-card:hover::before {
  transform: scaleX(1);
}

.team-card img {
  border-radius: 50%;
  width: 180px;
  height: 180px;
  object-fit: cover;
  margin: 0 auto 1.5rem auto;
  border: 4px solid var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s ease;
}

.team-card:hover img {
  transform: scale(1.05);
}

.team-card h3 {
  margin-bottom: 0.5rem;
  color: var(--secondary-color);
  font-weight: 800;
}

.team-card p {
  color: var(--primary-color);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
}

/* Preloader */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-color);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(13, 148, 136, 0.2);
  border-left-color: var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes spin-reverse {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(-360deg);
  }
}

.gear {
  transform-origin: center;
  animation: spin 6s linear infinite;
}

.gear-reverse {
  transform-origin: center;
  animation: spin-reverse 4s linear infinite;
}

.glass-card {
  padding: 2rem 0;
  max-width: 750px;
}

.glass-card h1 {
  color: var(--white) !important;
  font-size: clamp(2.5rem, 5vw, 3.5rem) !important;
  line-height: 1.2;
  mix-blend-mode: difference;
}

.glass-card p {
  color: var(--white) !important;
  mix-blend-mode: difference;
}

/* Ken Burns Hero Slideshow */
.hero-slideshow {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation-duration: 18s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

/* Slide 1: Skyline — pans right with slight zoom */
.hero-slide-1 {
  animation-name: kenburns1;
  animation-delay: 0s;
}

/* Slide 2: Industrial — zooms in from center */
.hero-slide-2 {
  animation-name: kenburns2;
  animation-delay: 6s;
}

/* Slide 3: EV — pans left with slight zoom */
.hero-slide-3 {
  animation-name: kenburns3;
  animation-delay: 12s;
}

@keyframes kenburns1 {
  0%      { opacity: 0; transform: scale(1); }
  5%      { opacity: 1; }
  28%     { opacity: 1; }
  33.33%  { opacity: 0; transform: scale(1.12) translateX(2%); }
  100%    { opacity: 0; transform: scale(1); }
}

@keyframes kenburns2 {
  0%      { opacity: 0; transform: scale(1.15); }
  5%      { opacity: 1; }
  28%     { opacity: 1; }
  33.33%  { opacity: 0; transform: scale(1) translateY(-2%); }
  100%    { opacity: 0; transform: scale(1.15); }
}

@keyframes kenburns3 {
  0%      { opacity: 0; transform: scale(1.05) translateX(-2%); }
  5%      { opacity: 1; }
  28%     { opacity: 1; }
  33.33%  { opacity: 0; transform: scale(1.15) translateX(1%); }
  100%    { opacity: 0; transform: scale(1.05) translateX(-2%); }
}