/* 1) SHAB LABS header */
@font-face {
  font-family: 'Blanka';
  src: url('fonts/Blanka-Regular.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* 2) Slogan font */
@font-face {
  font-family: 'SairaCondensed';
  src: url('fonts/SairaCondensed-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* 3) Default body font: Inter Medium */
@font-face {
  font-family: 'Inter';
  src: url('fonts/inter-Medium.otf') format('opentype');  /* notice lowercase i */
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: rgba(5, 5, 24, 0.88);
  --bg-alt: rgba(11, 11, 35, 0.90);
  --text: #f5f5ff;
  --muted: #a0a0c2;
  --primary: #4b6fff;
  --primary-dark: #354ccc;
  --secondary: #252547;
  --card-bg: rgba(16, 16, 40, 0.9);
  --border-radius: 12px;
  --max-width: 1100px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  /* Your background image for the whole site */
  background: url('img/background.jpg') center center / cover fixed no-repeat;
  color: var(--text);
  line-height: 1.6;
}

/* Hero */

.hero {
  padding: 60px 16px 40px;
  text-align: center;
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  background: var(--bg);
  border-radius: 20px;
  padding: 24px 18px 30px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);

  opacity: 0;
  transform: translateY(18px);
  animation: heroFadeIn 1.4s ease-out 0.2s forwards;
}

@keyframes heroFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Logo image at top */
.hero-logo {
  display: block;
  max-width: 220px;
  width: 55%;
  margin: 0 auto 10px;
}

/* SHAB LABS header (Blanka) */
.logo-text {
  font-family: 'Blanka', system-ui, sans-serif;
  letter-spacing: 0.18em;
  font-size: 2.6rem;
  margin: 0 0 8px;
  text-transform: uppercase;
}

/* Slogan (Saira Condensed) */
.hero-slogan {
  font-family: 'SairaCondensed', system-ui, sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  margin: 4px 0 12px;
  color: var(--muted);
}

/* Small explanatory line (Inter) */
.hero-subtitle {
  margin-top: 6px;
  color: var(--muted);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* Smaller hero on subpages */
.small-hero {
  padding-top: 30px;
  padding-bottom: 20px;
}

/* Compress logo + text when inside a small-hero */
.small-hero .hero-inner {
  max-width: 720px;
  padding: 18px 16px 22px;
}

.small-hero .hero-logo {
  max-width: 150px;
  width: 40%;
  margin-bottom: 6px;
}

.small-hero .logo-text {
  font-size: 2rem;
  letter-spacing: 0.14em;
  margin-bottom: 4px;
}

.small-hero .hero-slogan {
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  margin: 2px 0 8px;
}

.small-hero .hero-subtitle {
  font-size: 0.9rem;
}

/* Buttons (glassy / see-through) */

.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
  backdrop-filter: blur(10px);
}

.btn.primary {
  background: rgba(75, 111, 255, 0.18);
  color: #ffffff;
  border-color: rgba(75, 111, 255, 0.9);
}

.btn.primary:hover {
  background: rgba(75, 111, 255, 0.32);
  transform: translateY(-1px);
}

.btn.secondary {
  background: rgba(12, 12, 35, 0.35);
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn.secondary:hover {
  background: rgba(12, 12, 35, 0.55);
  border-color: rgba(255, 255, 255, 0.7);
  transform: translateY(-1px);
}

/* Sections */

.section {
  padding: 40px 16px;
}

.section.alt {
  /* Slightly different tint */
  background: rgba(0, 0, 0, 0.35);
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  background: var(--bg);
  border-radius: 20px;
  padding: 24px 18px 30px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
}

.section h2 {
  text-align: center;
  margin: 0 0 12px;
  font-size: 1.5rem;
}

.section-intro {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 24px;
  color: var(--muted);
}

/* Center helper */
.centered {
  text-align: center;
}

/* Services grid */

.services-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

.service-card {
  background: var(--card-bg);
  padding: 16px 18px;
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.service-card h3 {
  margin-top: 0;
  margin-bottom: 6px;
}

.service-card p {
  margin: 0;
  color: var(--muted);
}

/* Bullets */

.bullets {
  list-style: disc;
  max-width: 640px;
  margin: 0 auto 20px;
  padding-left: 20px;
  color: var(--muted);
}

/* Contact */

.contact-grid {
  max-width: 600px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

.contact-card {
  background: var(--card-bg);
  padding: 16px;
  border-radius: var(--border-radius);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.contact-card h3 {
  margin-top: 0;
}

.contact-links {
  margin-top: 8px;
  display: flex;
  justify-content: center;
  gap: 14px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: transparent;           /* borderless, transparent */
  border: none;
  padding: 0;
  cursor: pointer;
}

.social-icon {
  width: 24px;
  height: 24px;
  display: block;
  transition: transform 0.18s ease, filter 0.18s ease;
}

/* Slight “float” on hover */
.social-link:hover .social-icon {
  transform: translateY(-2px) scale(1.05);
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.45));
}
/* Footer */

.footer {
  text-align: center;
  padding: 20px 16px 30px;
  font-size: 0.8rem;
  color: var(--muted);
}

/* Official X icon in footer */
.footer-x-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  text-decoration: none;
}

.footer-x-icon {
  width: 22px;   /* adjust smaller/larger as you like */
  height: 22px;
  display: block;
  transition: transform 0.18s ease, filter 0.18s ease;
}

.footer-x-link:hover .footer-x-icon {
  transform: translateY(-2px) scale(1.06);
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.45));
}


.menu-toggle {
  position: fixed;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 7px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(5, 5, 24, 0.78);
  cursor: pointer;
  z-index: 100;
  backdrop-filter: blur(10px);
}

.menu-toggle span {
  display: block;
  height: 2px;
  border-radius: 999px;
  background: #ffffff;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

/* Turn into an "X" when open */
.menu-toggle.open span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}
.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.open span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: 220px;
  max-width: 70%;
  height: 100vh;
  padding: 70px 20px 20px;
  background: rgba(5, 5, 24, 0.96);
  backdrop-filter: blur(16px);
  transform: translateX(100%);
  transition: transform 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 90;
}

.mobile-nav.open {
  transform: translateX(0);
}

.mobile-nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 6px;
}

.mobile-nav a:last-child {
  border-bottom: none;
}

/* Responsive */

/* Scroll reveal base state */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 1.3s ease-out, transform 1.3s ease-out;
}

.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 768px) {
  .logo-text {
    font-size: 3rem;
  }

  .services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}







