:root {
  --primary-blue: #145dec;
  --bg-dark: #000000;
  --text-white: #FFFFFF;
  --text-light-gray: #E0E2EC;
  --text-gray: #8F99B0;
  --font-main: 'DM Sans', sans-serif;
  --font-poppins: 'Poppins', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 150px; /* Ensures the fixed navbar doesn't hide the about title when scrolling */
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  color: var(--text-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.gradient-bg {
  background: linear-gradient(180deg, #000000 0%, #051a44 50%, #0b3491 100%);
  position: relative;
  width: 100%;
}

.star-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background-image: 
    radial-gradient(1.5px 1.5px at 10% 20%, rgba(255,255,255,0.8), transparent),
    radial-gradient(2px 2px at 25% 45%, rgba(255,255,255,0.6), transparent),
    radial-gradient(1.5px 1.5px at 50% 15%, rgba(255,255,255,0.7), transparent),
    radial-gradient(2.5px 2.5px at 75% 30%, rgba(255,255,255,0.5), transparent),
    radial-gradient(1px 1px at 90% 50%, rgba(255,255,255,0.9), transparent),
    radial-gradient(2px 2px at 15% 70%, rgba(255,255,255,0.4), transparent),
    radial-gradient(1.5px 1.5px at 60% 80%, rgba(255,255,255,0.8), transparent),
    radial-gradient(2px 2px at 85% 75%, rgba(255,255,255,0.6), transparent);
  background-size: 800px 800px;
  opacity: 0.7;
  animation: twinkle 8s infinite alternate;
}

@keyframes twinkle {
  0% { opacity: 0.5; }
  100% { opacity: 0.9; }
}

/* Navbar */
.navbar-container {
  display: flex;
  justify-content: center;
  padding: 2.5rem 1rem;
  position: fixed; /* Moved with scroll */
  top: 0;
  width: 100%;
  z-index: 100;
}

.navbar {
  background: white;
  color: black;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.7rem 0.7rem 0.7rem 3.5rem;
  border-radius: 50px;
  width: 95%;
  max-width: 1250px; /* Greatly expanded boundaries to enable high-end luxury spacing without wrapping */
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

.logo {
  font-family: var(--font-poppins);
  font-size: 1.7rem;
  font-weight: 500;
}

.menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: black;
  transition: color 0.3s;
}

.menu-toggle:hover {
  color: #555;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 4.5rem; /* Restored massive, professional spacing between navigation options */
}

.nav-links a {
  font-family: var(--font-main);
  text-decoration: none;
  color: #111;
  font-size: 1.15rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #555;
}

.btn {
  display: inline-block;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(180deg, #1f6bff 0%, #0d46cf 100%);
  color: white;
  padding: 0.8rem 2.2rem;
  font-size: 1.15rem;
  font-family: var(--font-main);
  font-weight: 400;
  letter-spacing: 0.02em;
  border: none;
  border-radius: 50px;
  box-shadow: 
    inset 2px 3px 5px rgba(255, 255, 255, 0.5),
    inset -2px -3px 5px rgba(0, 0, 0, 0.4),
    0 4px 12px rgba(0, 0, 0, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(180deg, #2b74ff 0%, #124fd8 100%);
  box-shadow: 
    inset 2px 3px 5px rgba(255, 255, 255, 0.6),
    inset -2px -3px 5px rgba(0, 0, 0, 0.4),
    0 6px 16px rgba(28, 103, 255, 0.5);
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  min-height: 65vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  text-align: center;
  padding-top: 280px; /* Pulled text significantly further down the y-axis */
  padding-bottom: 100px;
  position: relative;
  z-index: 2;
}

.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}

.block {
  font-family: var(--font-poppins);
  font-size: clamp(2.5rem, 11vw, 8.5rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: #FFFFFF;
  line-height: 1.1;
}

.sub-text {
  font-family: var(--font-main);
  font-size: 1.25rem;
  color: #e0e6f5;
  margin: 1rem 0;
  letter-spacing: 0.02em;
}

/* About Us Section */
.about-us {
  text-align: center;
  padding: 8rem 2rem 10rem 2rem; 
  margin-top: 5rem;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.about-us h2 {
  font-family: var(--font-poppins);
  font-size: 3rem;
  font-weight: 500;
  margin-bottom: 2.5rem;
  letter-spacing: -0.01em;
}

.lead {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  font-weight: 400;
  color: var(--text-white);
}

.description {
  font-size: 1.15rem;
  color: #c0c6d5;
  line-height: 1.8;
  max-width: 700px;
  margin: 0 auto;
}

/* Footer Section */
.footer {
  background-color: #000;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 400px;
}

.cta-container {
  padding-top: 4rem;
  padding-bottom: 5rem;
  z-index: 3;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0 4rem;
  z-index: 10;
  position: absolute;
  bottom: 8rem; /* Align vertically with the center portion of the Orin text */
}

.social-icons {
  display: flex;
  gap: 1.5rem;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s;
}

.social-icons a img {
  width: 28px;
  height: 28px;
  /* Invert black to white, then drop brightness to achieve the light grey seen in the reference */
  filter: invert(1) brightness(0.6);
  transition: filter 0.3s;
  object-fit: contain;
}

.social-icons a:hover img {
  filter: invert(1) brightness(0.9);
}

.footer-links {
  display: flex;
  gap: 2.5rem;
}

.footer-links a {
  color: #ffffff;
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 500;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--text-gray);
}

.footer-tagline {
  font-family: 'Poppins', sans-serif;
  font-size: 1.25rem;
  font-weight: 400;
  color: #f0f0f0;
  position: absolute;
  bottom: 3.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  letter-spacing: 0;
  pointer-events: none;
}

.copyright {
  position: absolute;
  bottom: 2.5rem;
  left: 4rem;
  font-size: 0.75rem;
  color: #4a4d5e;
  z-index: 10;
  font-weight: 400;
}

/* Large faded Orin text */
.footer-logo-bg {
  position: absolute;
  bottom: -6vw;
  left: 50%;
  transform: translateX(-50%);
  font-size: 32vw;
  font-weight: 500;
  letter-spacing: -0.05em;
  z-index: 1;
  background: linear-gradient(180deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0) 80%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 0.8;
  user-select: none;
  pointer-events: none;
}

/* Responsive - Tablet & Small Desktop */
@media (max-width: 1100px) {
  .navbar {
    padding: 0.7rem 1.5rem;
  }
  .nav-links {
    gap: 2rem;
  }
}

/* Responsive - Mobile layout */
@media (max-width: 768px) {
  .navbar-container {
    padding: 1rem 0.5rem;
  }
  .navbar {
    flex-wrap: wrap; /* Keeps toggle button anchored on same axis frame */
    justify-content: space-between;
    gap: 0;
    padding: 1rem 1.5rem;
    border-radius: 25px;
  }
  .menu-toggle {
    display: block; /* Triggers the hamburger presence */
  }
  .nav-links, .navbar .btn-primary {
    display: none; /* Strip off the screen purely by default globally */
    width: 100%;
  }
  .nav-links.active {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1.5rem;
    text-align: center;
  }
  .navbar .btn-primary.active {
    display: inline-block;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    width: 100%;
    text-align: center;
  }
  .hero {
    padding-top: 220px;
  }
  .sub-text {
    font-size: 1rem;
  }
  .about-us {
    padding: 6rem 1rem 8rem 1rem;
  }
  .about-us h2 {
    font-size: 2.2rem;
  }
  .lead {
    font-size: 1.25rem;
  }
  .description {
    font-size: 1rem;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    bottom: 6rem;
    position: relative;
    padding: 0 1rem;
  }
  .footer-links {
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  .footer-tagline {
    bottom: 5rem;
    font-size: 1rem;
  }
  .copyright {
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
  }
  .footer-logo-bg {
    font-size: 38vw;
    bottom: 2rem;
  }
}

/* Extra small devices */
@media (max-width: 480px) {
  .nav-links {
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
  }
  .hero {
    padding-top: 260px;
  }
}
