/* Base Styles */
@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'General Sans', sans-serif;
  background-color: #000;
  color: #fff;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Video Background */
.video-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
}

.video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  /* 50% black overlay */
}

/* Content Wrapper */
.content-wrapper {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 120px;
  width: 100%;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 40px;
  /* Adjust gap to push nav links next to logo */
  flex-wrap: wrap;
}

.logo {
  text-decoration: none;
  display: block;
}

.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-link {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 14px;
  /* Space between label and arrow */
  transition: opacity 0.2s ease;
}

.nav-link:hover {
  opacity: 0.8;
}

/* Buttons */
.btn {
  position: relative;
  border-radius: 9999px;
  background: transparent;
  cursor: pointer;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: none;
  padding: 0;
  outline: none;
  transition: transform 0.2s ease;
}

.btn:hover {
  transform: scale(1.02);
}

.nav-btn .btn-text {
  background: #000;
  color: #fff;
  border: 0.6px solid rgba(255, 255, 255, 1);
}

.cta-btn .btn-text {
  background: #fff;
  color: #000;
  border: 0.6px solid rgba(255, 255, 255, 1);
}

.btn-text {
  position: relative;
  z-index: 2;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  padding: 11px 29px;
  border-radius: 9999px;
  display: block;
  width: 100%;
  height: 100%;
}

/* Button glow streak - blurred blob positioned at top */
.btn-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 8px;
  background: radial-gradient(ellipse at top, rgba(255, 255, 255, 0.8), transparent 70%);
  filter: blur(2px);
  z-index: 3;
  pointer-events: none;
}

/* The prompt says glow inside the pill along the top edge */
/* To make the glow sit inside the button and be visible */
.btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 4px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
  filter: blur(2px);
  z-index: 3;
  opacity: 0.9;
  border-radius: 50%;
}

.cta-btn::after {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 1), transparent);
  /* Ensure it is visible on write background, maybe slightly offset */
  top: -1px;
}

/* Hero Content */
.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 280px;
  padding-bottom: 102px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  gap: 40px;
  /* Vertically stacked with 40px gaps */
}

/* Badge */
.badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 13px;
  font-weight: 500;
}

.dot {
  width: 4px;
  height: 4px;
  background-color: #fff;
  border-radius: 50%;
  display: inline-block;
  margin-right: 2px;
}

.badge-text-dim {
  color: rgba(255, 255, 255, 0.6);
}

.badge-text-solid {
  color: #fff;
}

/* Heading Group */
.heading-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
  width: 100%;
}

.heading {
  font-size: 56px;
  font-weight: 500;
  line-height: 1.28;
  max-width: 613px;
  background: linear-gradient(144.5deg, #ffffff 28%, rgba(0, 0, 0, 0) 115%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  /* Fallback */
}

.subtitle {
  font-size: 15px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  max-width: 680px;
  line-height: 1.6;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .navbar {
    padding: 20px 60px;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 20px 24px;
    flex-direction: column;
    gap: 15px;
    justify-content: flex-start !important;
  }

  .nav-left {
    position: static !important;
    transform: none !important;
    justify-content: center;
    display: flex;
    margin-bottom: 5px;
  }

  .nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }

  .nav-link {
    font-size: 13px;
    gap: 6px;
  }

  .nav-link svg {
    display: none;
    /* Hide arrows on small screens to save space */
  }

  .hero-content {
    padding-top: 140px;
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* Contact Page Mobile Fixes */
.contact-section {
  padding: 40px 12px;
}

.contact-content {
  padding: 24px 12px;
  width: 100%;
}

.contact-info-grid {
  grid-template-columns: 1fr;
  gap: 12px;
}

.info-item {
  width: 100%;
  align-items: center;
}

.info-value {
  padding-left: 0;
  text-align: center;
  word-break: break-word;
  overflow-wrap: break-word;
}

.info-value a {
  word-break: break-all;
}

.contact-actions {
  margin-top: 0;
}

/* Page Sections */
section {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 24px;
  position: relative;
  z-index: 10;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-title {
  font-size: 40px;
  font-weight: 500;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 0.6) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.6);
  max-width: 600px;
  margin: 0 auto;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.services-grid-centered {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
  width: 100%;
}

.services-grid-centered .service-card {
  flex: 0 1 384px;
  /* Adjust based on grid items size */
  min-width: 280px;
}

.service-card {
  background: rgba(20, 20, 20, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 32px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-5px);
  background: rgba(30, 30, 30, 0.8);
  border-color: rgba(255, 255, 255, 0.2);
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  font-size: 32px;
  margin-bottom: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-title {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 12px;
  color: #fff;
}

.service-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

/* Specialities Grid */
.specialities-section {
  padding-top: 40px;
  padding-bottom: 120px;
}

.specialities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.speciality-item {
  padding: 24px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, transparent 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 1px solid rgba(255, 255, 255, 0.03);
  border-right: 1px solid rgba(255, 255, 255, 0.03);
}

/* Center the last item */
.specialities-grid>.speciality-item.center-last {
  grid-column: 1 / -1;
  max-width: 400px;
  margin: 0 auto;
  text-align: center;
}

.speciality-item.center-last h4 {
  justify-content: center;
}

.speciality-item.center-last p {
  padding-left: 0;
}

.speciality-item h4 {
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
}

.speciality-item h4::before {
  content: "→";
  margin-right: 8px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 14px;
}

.speciality-item.center-last h4::before {
  display: none;
  /* Optional: Hide the arrow if it's centered, looks cleaner */
}

.speciality-item p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.5;
  padding-left: 22px;
}

/* Contact Section */
.contact-section {
  padding-top: 40px;
  padding-bottom: 120px;
}

.contact-content {
  background: rgba(20, 20, 20, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 48px;
  max-width: 900px;
  margin: 0 auto;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.contact-title {
  font-size: 32px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 0.6) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
}

.contact-subtitle {
  font-size: 16px;
  color: #fff;
  margin-bottom: 40px;
  text-align: center;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  row-gap: 20px;
  column-gap: 20px;
  margin-bottom: 40px;
  justify-items: center;
  width: 100%;
}

@media (max-width: 640px) {
  .contact-info-grid {
    grid-template-columns: 1fr;
  }
}

.info-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.info-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 500;
  font-size: 16px;
}

.info-label svg {
  width: 20px;
  height: 20px;
}

.info-value {
  color: #fff;
  font-size: 16px;
  padding-left: 28px;
  /* align with text after icon */
}

/* Removed Address full width so Instagram sits next to it */
.info-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  /* Keep text left aligned relative to its own block */
  gap: 8px;
  width: 200px;
  /* Give them a standard width to align cleanly in center */
}

.contact-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 16px;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  padding: 10px 24px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.contact-btn:hover {
  background-color: #fff;
  color: #000;
  border-color: #fff;
}

/* Footer Section */
.site-footer {
  width: 100%;
  background-color: #000;
  padding: 40px 120px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 10;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
}

/* Footer Left: Logo & RIF */
.footer-left {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-logo-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-mark {
  width: 32px;
  height: 32px;
}

.logo-text-col {
  display: flex;
  flex-direction: column;
  border-left: 1px solid #fff;
  padding-left: 12px;
}

.logo-title {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
  line-height: 1;
}

.logo-subtitle {
  font-size: 10px;
  color: #ccc;
  letter-spacing: 0.5px;
  text-align: center;
  margin-top: 2px;
}

.footer-rif {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  padding-left: 44px;
  /* Align with text */
}

/* Footer Middle: Social Icons */
.footer-socials {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background-color: #00e5ff;
  /* Cyan color from screenshot */
  border-radius: 12px;
  color: #000;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.social-icon svg {
  width: 24px;
  height: 24px;
}

.social-icon:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

/* Footer Right: Links */
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: right;
  align-items: flex-end;
}

.footer-links a {
  color: #00e5ff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: opacity 0.2s ease;
}

.footer-links a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.footer-text {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-end;
}

.footer-text .motto {
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.5px;
}

/* Cache-busting rename and forced overrides to fix web-version distortion */
.footer-links .footer-text .powered-by-pro {
  font-family: 'General Sans', sans-serif !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.12em !important;
  color: #6C757D !important;
  text-transform: uppercase !important;
}

.footer-links .footer-text .miraisys-pro {
  text-decoration: none !important;
  font-family: 'General Sans', sans-serif !important;
  font-weight: 900 !important;
  letter-spacing: 0.14em !important;
  background: linear-gradient(135deg, #6C757D 0%, #007BFF 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  transition: filter 0.3s !important;
}

.footer-links .footer-text .miraisys-pro:hover {
  filter: brightness(1.3) drop-shadow(0 0 6px rgba(0, 123, 255, 0.5)) !important;
}

/* Responsive Footer */
@media (max-width: 768px) {
  .site-footer {
    padding: 40px 24px;
  }

  .footer-content {
    flex-direction: column;
    align-items: flex-start;
    align-items: center;
    gap: 32px;
  }

  .footer-links {
    text-align: left;
    text-align: center;
    align-items: center;
  }

  .footer-text {
    align-items: center;
  }

  .footer-rif {
    padding-left: 0;
  }
}

/* Contact Card Component Styles */
.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 12px 20px;
  width: 100%;
  max-width: 320px;
  transition: all 0.3s ease;
}

.contact-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(0, 229, 255, 0.5);
  transform: translateY(-2px);
}

.card-icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(0, 229, 255, 0.1);
  border-radius: 8px;
  color: #00e5ff;
  flex-shrink: 0;
}

.card-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.card-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 600;
}

.card-value {
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  word-break: break-word;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .contact-card {
    max-width: 100%;
    justify-content: flex-start;
    padding: 10px 16px;
    gap: 12px;
  }

  .card-icon-box {
    width: 32px;
    height: 32px;
  }

  .card-icon-box svg {
    width: 16px !important;
    height: 16px !important;
  }

  .card-label {
    font-size: 10px;
  }

  .card-value {
    font-size: 14px;
    overflow-wrap: break-word;
    word-break: normal;
  }
}