/* Global Styles - fonts loaded in HTML for performance */
/* Simple Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.loading-screen.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loading-content {
    text-align: center;
    color: #00f2fe;
}

.loading-logo {
    margin-bottom: 1.5rem;
}

.loading-logo-img {
    width: 80px;
    height: 80px;
    filter: brightness(0) invert(1);
    filter: brightness(0) invert(1) drop-shadow(0 0 20px rgba(0, 242, 254, 0.8));
}

.loading-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: #00f2fe;
    margin-bottom: 0.5rem;
}

.loading-subtext {
    font-size: 0.9rem;
    color: rgba(0, 242, 254, 0.8);
    margin-bottom: 1rem;
}

.loading-sign {
    font-size: 1.5rem;
    color: #00f2fe;
    animation: loadingDots 1.5s infinite;
}



@keyframes loadingDots {
    0%, 20% { opacity: 0; }
    40% { opacity: 1; }
    60% { opacity: 1; }
    80% { opacity: 1; }
    100% { opacity: 0; }
}



:root {
  --primary: #00f2fe;
  --secondary: #4facfe;
  --accent: #7c3aed;
  --background: #000000;
  --surface: rgba(255, 255, 255, 0.05);
  --text: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.7);
  --border: rgba(255, 255, 255, 0.1);
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
  background-color: var(--background);
  color: var(--text);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

@keyframes stars {
  from { background-position: 0 0, 40px 60px, 130px 270px; }
  to { background-position: 550px 550px, 390px 410px, 680px 530px; }
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 20%, rgba(56, 189, 248, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(168, 85, 247, 0.1) 0%, transparent 50%);
  animation: gradientShift 15s ease infinite;
  z-index: -1;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Planet Animation */
.planet-container {
  position: fixed;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: 300px;
  height: 300px;
  z-index: -1;
  opacity: 0.8;
  transition: all 0.5s ease;
}

.planet {
  width: 100%;
  height: 100%;
  background: url('images/planet-texture.png') no-repeat center center;
  background-size: cover;
  border-radius: 50%;
  box-shadow: 0 0 50px rgba(56, 189, 248, 0.3);
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Rocket Animation */
.rocket-container {
  position: fixed;
  left: 5%;
  bottom: 20px;
  width: 50px;
  height: 100px;
  z-index: 1000;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  transform-origin: bottom center;
}

.rocket {
  width: 100%;
  height: 100%;
  background: url('images/rocket.png') no-repeat center center;
  background-size: contain;
  transform: rotate(0deg);
  animation: rocketThrust 0.5s ease-in-out infinite alternate;
  filter: drop-shadow(0 0 10px rgba(0, 242, 254, 0.8));
}

.rocket-trail {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 4px;
  height: 200px;
  background: linear-gradient(to top, 
      rgba(0, 242, 254, 0.8),
      rgba(0, 242, 254, 0.6),
      rgba(0, 242, 254, 0.4),
      rgba(0, 242, 254, 0.2),
      transparent
  );
  transform: translateX(-50%);
  animation: trailFade 0.5s ease-in-out infinite alternate;
}

@keyframes rocketThrust {
  from { transform: translateY(0) scale(1); }
  to { transform: translateY(-5px) scale(1.1); }
}

@keyframes trailFade {
  from { opacity: 0.5; height: 150px; }
  to { opacity: 1; height: 200px; }
}

/* Navigation */
.navbar {
  background: rgba(10, 10, 10, 0.8) !important;
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
  padding: 1rem 0;
}

.navbar:hover {
  background: rgba(10, 10, 10, 0.9) !important;
  box-shadow: 0 0 30px rgba(0, 242, 254, 0.15);
}

.logo {
  font-family: 'Inter', sans-serif;
  font-size: 28px;
  font-weight: 600;
  background: linear-gradient(45deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  letter-spacing: -0.5px;
}

.logo::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #00f2fe, transparent);
  animation: shine 3s infinite;
}

@keyframes shine {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

@keyframes glow {
  from {
    text-shadow: 0 0 10px #00f2fe, 0 0 20px #00f2fe, 0 0 30px #00f2fe;
  }
  to {
    text-shadow: 0 0 20px #00f2fe, 0 0 30px #00f2fe, 0 0 40px #00f2fe;
  }
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, rgba(10, 10, 10, 0.95) 0%, rgba(20, 20, 20, 0.95) 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 150px 0 100px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 20%, rgba(124, 58, 237, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(0, 242, 254, 0.15) 0%, transparent 50%);
  animation: gradientShift 15s ease infinite;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  animation: fadeInUp 1s ease-out;
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 4.5rem;
  margin-bottom: 2rem;
  font-weight: 700;
  letter-spacing: -1px;
  background: linear-gradient(45deg, var(--text), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 30px rgba(0, 242, 254, 0.2);
}

.hero h3 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.hero p {
  font-size: 1.5rem;
  margin-bottom: 2.5rem;
  line-height: 1.8;
  animation: fadeInUp 1s ease-out 0.2s;
  opacity: 0.9;
}

/* Hero Section Responsive Styles */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem !important;
    }
    .hero-content h1 span {
        font-size: 1.8rem !important;
    }
}

/* Tech Card Styles */
.tech-card {
  background: var(--surface);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 24px;
  padding: 2.5rem;
  margin: 1rem;
  transition: var(--transition);
  box-shadow: var(--shadow);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.tech-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
   background: linear-gradient(45deg, 
    rgba(0, 242, 254, 0.1),
    rgba(124, 58, 237, 0.1)
  );
  opacity: 0;
  transition: var(--transition);
}

.tech-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border-color: rgba(0, 242, 254, 0.3);
}

.tech-card:hover::before {
  opacity: 1;
}

.tech-card h3, .tech-card h4 {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tech-card p {
  margin-bottom: 1.5rem;
  line-height: 1.6;
  flex-grow: 1;
}

.tech-card ul {
  padding-left: 1.5rem;
  flex-grow: 1;
}

.tech-card li {
  margin-bottom: 1rem;
  padding-left: 0.5rem;
}

.tech-card .tech-badge {
  margin-top: auto;
}

/* Card Grid Layout */
.row.g-4 {
  display: flex;
  flex-wrap: wrap;
}

.row.g-4 > [class*="col-"] {
  display: flex;
  flex-direction: column;
}

/* Button Styles */
.tech-button {
  background: transparent;
  border: none;
  color: var(--text);
  padding: 1rem 2rem;
  border-radius: 12px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.tech-button::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(90deg, 
    var(--primary),
    var(--secondary),
    var(--accent),
    var(--primary)
  );
  background-size: 300% 100%;
  animation: gradientBorder 3s linear infinite;
  border-radius: 14px;
  z-index: -2;
}

.tech-button::after {
  content: '';
  position: absolute;
  inset: 1px;
  background: rgba(10, 10, 10, 0.95);
  border-radius: 11px;
  z-index: -1;
  transition: var(--transition);
}

.tech-button:hover {
  transform: translateY(-2px);
  text-shadow: 0 0 10px rgba(0, 242, 254, 0.5);
}

.tech-button:hover::after {
  background: rgba(10, 10, 10, 0.8);
}

.tech-button:hover::before {
  animation: gradientBorder 1.5s linear infinite;
  filter: brightness(1.2);
}

/* Update any other button classes to match */
.btn-primary,
.btn-secondary,
.btn-outline {
  background: transparent;
  border: none;
  color: var(--text);
  padding: 1rem 2rem;
  border-radius: 12px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary::before,
.btn-secondary::before,
.btn-outline::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(90deg, 
    var(--primary),
    var(--secondary),
    var(--accent),
    var(--primary)
  );
  background-size: 300% 100%;
  animation: gradientBorder 3s linear infinite;
  border-radius: 14px;
  z-index: -2;
}

.btn-primary::after,
.btn-secondary::after,
.btn-outline::after {
  content: '';
  position: absolute;
  inset: 1px;
  background: rgba(10, 10, 10, 0.95);
  border-radius: 11px;
  z-index: -1;
  transition: var(--transition);
}

.btn-primary:hover,
.btn-secondary:hover,
.btn-outline:hover {
  transform: translateY(-2px);
  text-shadow: 0 0 10px rgba(0, 242, 254, 0.5);
}

.btn-primary:hover::after,
.btn-secondary:hover::after,
.btn-outline:hover::after {
  background: rgba(10, 10, 10, 0.8);
}

.btn-primary:hover::before,
.btn-secondary:hover::before,
.btn-outline:hover::before {
  animation: gradientBorder 1.5s linear infinite;
  filter: brightness(1.2);
}

/* Specific button variations */
.btn-primary::before {
  background: linear-gradient(90deg, 
    var(--primary),
    var(--secondary),
    var(--accent),
    var(--primary)
  );
}

.btn-secondary::before {
  background: linear-gradient(90deg, 
    var(--secondary),
    var(--accent),
    var(--primary),
    var(--secondary)
  );
}

.btn-outline::before {
  background: linear-gradient(90deg, 
    var(--accent),
    var(--primary),
    var(--secondary),
    var(--accent)
  );
}

/* Tech Badge Styles */
.tech-badge {
  position: relative;
  padding: 1rem;
  background: rgba(10, 10, 10, 0.95);
  border-radius: 10px;
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  transition: var(--transition);
  overflow: hidden;
  z-index: 1;
}

/* Running border effect for specific feature cards */
.tech-badge[data-feature="all-internet"],
.tech-badge[data-feature="all-text"],
.tech-badge[data-feature="future-ready"] {
  border: none;
  background: rgba(10, 10, 10, 0.95);
}

.tech-badge[data-feature="all-internet"]::before,
.tech-badge[data-feature="all-text"]::before,
.tech-badge[data-feature="future-ready"]::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(90deg, 
    #ffd700,  /* Yellow */
    #00f2fe,  /* Blue */
    #ff4444,  /* Red */
    #ffd700   /* Yellow */
  );
  background-size: 300% 100%;
  animation: runningBorder 3s linear infinite;
  border-radius: 12px;
  z-index: -2;
}

.tech-badge[data-feature="all-internet"]::after,
.tech-badge[data-feature="all-text"]::after,
.tech-badge[data-feature="future-ready"]::after {
  content: '';
  position: absolute;
  inset: 1px;
  background: rgba(10, 10, 10, 0.95);
  border-radius: 10px;
  z-index: -1;
  transition: var(--transition);
}

.tech-badge[data-feature="all-internet"]:hover::before,
.tech-badge[data-feature="all-text"]:hover::before,
.tech-badge[data-feature="future-ready"]:hover::before {
  animation: runningBorder 1.5s linear infinite;
  filter: brightness(1.2);
}

.tech-badge[data-feature="all-internet"]:hover::after,
.tech-badge[data-feature="all-text"]:hover::after,
.tech-badge[data-feature="future-ready"]:hover::after {
  background: rgba(10, 10, 10, 0.8);
}

@keyframes runningBorder {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Regular tech badges (non-feature cards) */
.tech-badge:not([data-feature]) {
  background: linear-gradient(45deg, #f0f0f0, #dadada);
  color: rgb(0, 0, 0);
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 0.9em;
  font-weight: 600;
  display: inline-block;
  box-shadow: 0 4px 15px rgba(0, 254, 199, 0.5);
}

/* Video Container */
.video-container {
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
  margin: 0 auto;
  position: relative;
}

.video-container video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
}

.video-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.2);
}

.video-container::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 20px;
  box-shadow: inset 0 0 20px rgba(0, 242, 254, 0.2);
  pointer-events: none;
}

/* Styles for the Allin Platform section card in index.html */
section > .container > .tech-card {
  background-color: #1A3B5D; /* Dark blue background for Allin identity */
  border: none;
  color: #f0f0f0; /* Light grey text for paragraphs and lists */
  margin: 0 ; /* Remove margin to allow full width within container */
}

section > .container > .tech-card h3,
section > .container > .tech-card h4 {
  color: #fff; /* White color for headings */
}

section > .container > .tech-card .tech-button {
  /* Inherits general tech-button styles, but we can override if needed */
  /* For now, let's rely on the existing tech-button styling which uses gradients */
}

section > .container > .tech-card ul li span:first-child {
  color: #00f2fe; /* Light blue color for list markers */
}

/* Styles for the Allin Platform Details section card in allin.html */
section.py-5 > .container > .tech-card {
  background-color: #1A3B5D; /* Dark blue background for Allin identity */
  border: none;
  color: #f0f0f0; /* Light grey text for paragraphs and lists */
  margin: 0; /* Remove margin to allow full width within container */
}

section.py-5 > .container > .tech-card h3,
section.py-5 > .container > .tech-card h4 {
  color: #fff; /* White color for headings */
}

section.py-5 > .container > .tech-card .tech-button {
  /* Inherits general tech-button styles */
}

section.py-5 > .container > .tech-card ul li span:first-child {
  color: #00f2fe; /* Light blue color for list markers */
}

/* Disable hover effect for the main Allin Platform cards */
section > .container > .tech-card:hover,
section.py-5 > .container > .tech-card:hover {
  transform: none; /* Disable translateY transform on hover */
  box-shadow: var(--shadow); /* Revert to default box-shadow */
  border-color: var(--border); /* Revert to default border color */
}

section > .container > .tech-card:hover::before,
section.py-5 > .container > .tech-card:hover::before {
  opacity: 0; /* Disable the ::before opacity transition on hover */
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes glowingBorderAnimation {
  0% {
    box-shadow: -15px -15px 30px rgba(0, 255, 255, 0.8), 15px 15px 30px rgba(204, 85, 0, 0.8), 0 0 25px rgba(255, 69, 0, 0.6);
  }
  25% {
    box-shadow: 15px -15px 30px rgba(0, 255, 255, 0.8), -15px 15px 30px rgba(204, 85, 0, 0.8), 0 0 25px rgba(255, 69, 0, 0.6);
  }
  50% {
    box-shadow: 15px 15px 30px rgba(0, 255, 255, 0.8), -15px -15px 30px rgba(204, 85, 0, 0.8), 0 0 25px rgba(255, 69, 0, 0.6);
  }
  75% {
    box-shadow: -15px 15px 30px rgba(0, 255, 255, 0.8), 15px -15px 30px rgba(204, 85, 0, 0.8), 0 0 25px rgba(255, 69, 0, 0.6);
  }
  100% {
    box-shadow: -15px -15px 30px rgba(0, 255, 255, 0.8), 15px 15px 30px rgba(204, 85, 0, 0.8), 0 0 25px rgba(255, 69, 0, 0.6);
  }
}

/* Footer Styles */
footer {
  background: #0a0a0a;
  padding: 4rem 0 2rem;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 0% 0%, rgba(124, 58, 237, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 100% 100%, rgba(0, 242, 254, 0.1) 0%, transparent 50%);
  opacity: 0.5;
  transform: translateX(-50%) skewX(-20deg);
  animation: footerShine 8s linear infinite;
  z-index: 0;
}

footer a {
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  opacity: 0.8;
}

footer a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #00f2fe;
  transition: width 0.3s ease;
}

footer a:hover::after {
  width: 100%;
}

footer a:hover {
  color: #00f2fe;
  opacity: 1;
}

/* Modern Futuristic Navbar */
.custom-navbar {
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    padding: 1.2rem 0;
    position: fixed;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(200, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.custom-navbar:hover {
    background: rgba(0, 0, 0, 0.9);
    box-shadow: 0 4px 30px rgba(0, 255, 247, 0.1);
}

.custom-navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Burger Menu */
.burger {
    width: 32px;
    height: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    z-index: 1100;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 8px;
}

.burger:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

.burger span {
    display: block;
    height: 2px;
    width: 20px;
    background: rgba(200, 255, 255, 0.9);
    transition: all 0.3s ease;
    transform-origin: center;
    box-shadow: 0 0 8px rgba(0, 242, 254, 0.5);
}

.burger.active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
    background: #00f2fe;
}

.burger.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.burger.active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
    background: #00f2fe;
}

/* Navigation Links */
.navbar-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.navbar-links li a {
    color: rgba(200, 255, 255, 0.85);
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
    position: relative;
    font-weight: 400;
    display: block;
}

.navbar-links li a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #00f2fe, transparent);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
}

.navbar-links li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, #00f2fe, #4facfe);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.navbar-links li a:hover {
    color: rgba(200, 255, 255, 1);
    text-shadow: 0 0 8px rgba(0, 242, 254, 0.5);
}

.navbar-links li a:hover::before {
    transform: scaleX(1);
}

.navbar-links li a:hover::after {
    opacity: 1;
}

.navbar-links li a.active {
    color: rgba(200, 255, 255, 1);
    font-weight: 500;
}

.navbar-links li a.active::before {
    transform: scaleX(1);
}

.navbar-links li a.active::after {
    opacity: 1;
}

/* Dropdown Menu Styles */
.custom-navbar .dropdown-menu {
    background-color: rgba(0, 0, 0, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 10px 0;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    max-height: 70vh; /* Limit height for scrolling on desktop */
    overflow-y: auto; /* Enable vertical scrolling */
    overflow-x: hidden; /* Hide horizontal scroll */
}

/* Custom scrollbar for desktop dropdown */
.custom-navbar .dropdown-menu::-webkit-scrollbar {
    width: 6px;
}

.custom-navbar .dropdown-menu::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.custom-navbar .dropdown-menu::-webkit-scrollbar-thumb {
    background: rgba(0, 242, 254, 0.3);
    border-radius: 3px;
}

.custom-navbar .dropdown-menu::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 242, 254, 0.5);
}

.custom-navbar .dropdown-item {
    color: rgba(200, 255, 255, 0.85);
    padding: 10px 20px;
    transition: all 0.3s ease;
}

.custom-navbar .dropdown-item:hover,
.custom-navbar .dropdown-item:focus {
    background-color: rgba(0, 242, 254, 0.1);
    color: rgba(200, 255, 255, 1);
}

.custom-navbar .dropdown-toggle::after {
    vertical-align: middle;
    margin-left: 5px;
}

/* Mobile Navigation - Adjustments for Dropdown */
@media (max-width: 900px) {
    .navbar-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        flex-direction: column;
        align-items: flex-start;
        padding: 6rem 1rem 2rem;
        gap: 1.5rem;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1050;
        border-left: 1px solid rgba(200, 255, 255, 0.08);
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
    }

    .navbar-links.open {
        right: 0;
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
        box-shadow: -5px 0 30px rgba(0, 242, 254, 0.1);
    }

    .navbar-links li {
        width: 100%;
    }

    .navbar-links li a {
        width: 100%;
        padding: 0.5rem 0;
        font-size: 1.1rem;
    }

    .navbar-links li a:hover {
        transform: translateX(5px);
    }

    /* Style dropdown in mobile menu */
    .custom-navbar .dropdown-menu {
        position: static !important; /* Override Bootstrap absolute positioning */
        float: none !important;
        width: 100%;
        margin-top: 0;
        background-color: rgba(255, 255, 255, 0.05); /* Slightly different background for clarity */
        border: none;
        border-radius: 0;
        padding: 0;
        box-shadow: none;
        max-height: calc(100vh - 200px); /* Allow scrolling if content exceeds viewport */
        overflow-y: auto; /* Enable vertical scrolling */
        overflow-x: hidden; /* Hide horizontal scroll */
    }

    .custom-navbar .dropdown-item {
        padding: 10px 30px; /* Adjust padding for mobile */
    }

    .custom-navbar .nav-item.dropdown {
        width: 100%; /* Ensure dropdown takes full width in mobile menu */
    }

     .custom-navbar .dropdown-toggle {
        width: 100%; /* Ensure dropdown toggle takes full width */
        display: block; /* Make it a block element */
     }

    /* Custom scrollbar for mobile dropdown */
    .custom-navbar .dropdown-menu::-webkit-scrollbar {
        width: 6px;
    }

    .custom-navbar .dropdown-menu::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.05);
        border-radius: 10px;
    }

    .custom-navbar .dropdown-menu::-webkit-scrollbar-thumb {
        background: rgba(0, 242, 254, 0.3);
        border-radius: 3px;
    }

    .custom-navbar .dropdown-menu::-webkit-scrollbar-thumb:hover {
        background: rgba(0, 242, 254, 0.5);
    }
}

/* Hide burger and show horizontal nav on desktop */
@media (min-width: 901px) {
    .burger {
        display: none !important;
    }
    
    .navbar-links {
        position: static !important;
        flex-direction: row !important;
        align-items: center !important;
        background: none !important;
        width: auto !important;
        height: auto !important;
        padding: 0 !important;
        gap: 2.5rem !important;
        transition: none !important;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .planet-container {
    display: none;
  }
  
  .rocket-container {
    display: none;
  }
  
  .hero {
    padding: 100px 0 60px;
  }
  
  .hero h1 {
    font-size: 3rem;
  }
  
  .hero p {
    font-size: 1.2rem;
  }
  
  .tech-card {
    padding: 1.5rem;
  }
  
  .section-divider {
    margin: 40px 0;
  }
  
  section {
    padding: 60px 0;
  }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--background);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--primary), var(--secondary));
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(var(--secondary), var(--primary));
}

/* Section Dividers */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 242, 254, 0.5), transparent);
  margin: 60px 0;
}

/* Pixel Game Section */
.pixel-game-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    position: relative;
    overflow: hidden;
}

.pixel-game-title {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #00f2fe 0%, #4facfe 50%, #ff5ecb 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(0, 242, 254, 0.5);
}

.pixel-game-subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.pixel-game-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    background: #000000;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

#pixelGameCanvas {
    width: 100%;
    height: 500px;
    display: block;
    border-radius: 8px;
    background: #0a0a0a;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
}

.game-controls {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.game-info {
    display: flex;
    gap: 30px;
}

.score-display,
.level-display {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
}

.score-label,
.level-label {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

#gameScore,
#gameLevel {
    color: #00f2fe;
    font-weight: 700;
    font-size: 1.3rem;
    text-shadow: 0 0 10px rgba(0, 242, 254, 0.8);
}

.game-instructions {
    flex: 1;
    text-align: center;
}

.game-instructions p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
    font-size: 0.95rem;
}

#pixelGameCanvas {
    touch-action: none;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}

.game-button {
    background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
    color: #000000;
    border: none;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 242, 254, 0.3);
}

.game-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 242, 254, 0.5);
}

.game-button:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .pixel-game-section {
        padding: 60px 0;
    }
    
    .pixel-game-title {
        font-size: 2rem;
    }
    
    .pixel-game-subtitle {
        font-size: 1rem;
    }
    
    #pixelGameCanvas {
        height: 400px;
    }
    
    .game-controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    .game-info {
        justify-content: center;
    }
    
    .game-instructions {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .pixel-game-title {
        font-size: 1.5rem;
    }
    
    #pixelGameCanvas {
        height: 350px;
    }
    
    .game-info {
        flex-direction: column;
        gap: 15px;
    }
}

/* Section Styles */
section {
  padding: 100px 0;
  position: relative;
}

section h2 {
  margin-bottom: 3rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

section p.lead {
  margin-bottom: 4rem;
}

/* Social Media Icons */
.social-links {
    margin: 20px 0;
}

.social-icon {
    font-size: 24px;
    color: #fff;
    margin: 0 15px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    color: #00f2fe;
    transform: translateY(-3px);
}

/* Modify layout for large screens */
@media (min-width: 992px) {
    .row.align-items-center.g-4 {
        display: flex;
        flex-direction: row; /* Ensure main columns are side-by-side */
    }
    
    .row.align-items-center.g-4 > div {
        margin-bottom: 2rem;
    }
    
    /* Specific rule for the left content column to stack its content */
    .row.align-items-center.g-4 > .col-lg-6:first-child {
        flex-direction: column; /* Stack content inside the left column */
        display: flex; /* Ensure flex properties are applied */
        justify-content: center; /* Vertically center content in the column */
        align-items: center; /* Horizontally center content in the column */
        text-align: center; /* Ensure text is centered */
    }
    
    /* Adjust margin for elements inside the left column */
    .row.align-items-center.g-4 > .col-lg-6:first-child h3,
    .row.align-items-center.g-4 > .col-lg-6:first-child p,
    .row.align-items-center.g-4 > .col-lg-6:first-child .mb-4 {
        text-align: center; /* Ensure text is centered within the flex column */
    }
    
     .row.align-items-center.g-4 > .col-lg-6:last-child {
        display: flex; /* Ensure flex properties for the video column */
        justify-content: center; /* Center video horizontally */
        align-items: center; /* Center video vertically */
     }

    /* Make the container in the Allin Platform section full width on large screens */
    section.py-5 > .container {
        padding-left: 0;
        padding-right: 0;
    }

    .tech-card {
        margin: 0;
    }
}

/* Form Styles */
.form-control {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text);
    padding: 1rem 1.5rem;
    font-family: 'Inter', sans-serif;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.996);
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 242, 254, 0.1);
}

.form-label {
    color: #fff;
    margin-bottom: 8px;
    font-weight: 500;
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* Glowing effect for the entire Allin Platform sections */
#allin-details-section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  background: #000;
}

/* Modernized Allin Details Section */
#allin-details-section .feature-list {
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

#allin-details-section .feature-list li {
  background: rgba(255, 255, 255, 0.03);
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  backdrop-filter: blur(3px);
  margin-bottom: 0 !important; /* Override bootstrap margin */
}

#allin-details-section .feature-list li:hover {
  transform: translateY(-5px) scale(1.03);
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--secondary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

#allin-details-section .feature-list li i {
  font-size: 1.4rem;
  color: var(--secondary);
  width: 35px;
  text-align: center;
  transition: all 0.3s ease;
}

#allin-details-section .feature-list li:hover i {
    transform: scale(1.2) rotate(-10deg);
    text-shadow: 0 0 15px var(--secondary);
}

#allin-details-section .feature-list li span {
  font-size: 1rem;
  font-weight: 500;
}

#allin-details-section .video-container {
    position: relative;
    box-shadow: 0 0 50px rgba(79, 172, 254, 0.2);
    transition: box-shadow 0.4s ease;
    border-radius: 1rem;
}

#allin-details-section .video-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
    z-index: 2;
    pointer-events: none;
}

#allin-details-section .tech-card:hover .video-container {
    box-shadow: 0 0 70px rgba(79, 172, 254, 0.4);
}

/* Features Section specific styles */
#features-section {
  background-color: #f8f8f8; /* Not pure white background */
  color: var(--background); /* Adjust text color for light background */
  padding-bottom: 3rem; /* Adjust padding if needed */
}

#features-section .features-header-wrapper {
  text-align: left !important; /* Force align text to the left */
  margin-bottom: 2rem; /* Reduced margin-bottom for the wrapper */
  width: 100%; /* Ensure it takes full width */
}

#features-section .features-title-divider {
  width: 100px; /* Length of the divider */
  height: 2px; /* Thickness of the divider */
  background: linear-gradient(90deg, var(--primary), var(--secondary)); /* Gradient color for the divider */
  margin-top: 0.5rem; /* Space between h2 and divider */
  margin-bottom: 1rem; /* Space between divider and paragraph */
  margin-left: 0; /* Ensure it's aligned to the left */
}

#features-section h2.display-5 {
  margin-bottom: 0.5rem; /* Reduced margin below h2 */
  text-align: left !important; /* Explicitly ensure alignment for h2 */
}

#features-section p.lead {
  margin-top: 0.5rem; /* Reduced margin above paragraph */
  text-align: left !important; /* Explicitly ensure alignment for p */
}

#features-section .tech-card {
  background-color: var(--background);
}

#features-section .tech-card h3,
#features-section .tech-card h4,
#features-section .tech-card p,
#features-section .tech-card ul li span {
  color: var(--text);
}

/* Ensure feature-icon and tech-badge colors are appropriate on black cards */
#features-section .feature-icon {
  filter: none; /* Removed invert filter to restore original SVG colors */
}

#features-section .tech-badge {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
}

#features-section .features-header-wrapper h2,
#features-section .features-header-wrapper p.lead {
  text-align: left !important;
}

@keyframes footerShine {
  0% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.5;
  }
}

/* --- Modern/Classic Styling for the main Allin container --- */

/* 1. Style the main container card */
#allin-details-section > .container > .tech-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
    border: 1px solid transparent;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    position: relative; /* Needed for the pseudo-element border */
    transition: all 0.4s ease;
}

/* 2. Create the animated gradient border using a pseudo-element */
#allin-details-section > .container > .tech-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    padding: 1px; /* This padding acts as the border thickness */
    background: linear-gradient(145deg, var(--secondary), var(--primary));
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude; /* Prevents the gradient from filling the whole card */
    opacity: 0.4;
    transition: opacity 0.4s ease;
    pointer-events: none; /* Make sure the pseudo-element doesn't block clicks */
}

/* 3. Enhance the hover effect for the main container */
#allin-details-section > .container > .tech-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35);
}

#allin-details-section > .container > .tech-card:hover::before {
    opacity: 1; /* Make the gradient border fully visible on hover */
}

/* 4. Neutralize the inner cards holding the feature lists */
#allin-details-section .feature-list-container .tech-card {
    background: none;
    border: none;
    backdrop-filter: none;
    padding: 0;
    box-shadow: none;
}

#allin-details-section .feature-list-container .tech-card:hover {
    transform: none;
    box-shadow: none;
}

#allin-details-section .feature-list-container .tech-card::before {
    content: none; /* Disable the generic hover effect from .tech-card */
}

/* Features Section specific styles */
#features-section {
  background-color: #f8f8f8; /* Not pure white background */
  color: var(--background); /* Adjust text color for light background */
  padding-bottom: 3rem; /* Adjust padding if needed */
}

#features-section .features-header-wrapper {
  text-align: left !important; /* Force align text to the left */
  margin-bottom: 2rem; /* Reduced margin-bottom for the wrapper */
  width: 100%; /* Ensure it takes full width */
}

#features-section .features-title-divider {
  width: 100px; /* Length of the divider */
  height: 2px; /* Thickness of the divider */
  background: linear-gradient(90deg, var(--primary), var(--secondary)); /* Gradient color for the divider */
  margin-top: 0.5rem; /* Space between h2 and divider */
  margin-bottom: 1rem; /* Space between divider and paragraph */
  margin-left: 0; /* Ensure it's aligned to the left */
}

#features-section h2.display-5 {
  margin-bottom: 0.5rem; /* Reduced margin below h2 */
  text-align: left !important; /* Explicitly ensure alignment for h2 */
}

#features-section p.lead {
  margin-top: 0.5rem; /* Reduced margin above paragraph */
  text-align: left !important; /* Explicitly ensure alignment for p */
}

#features-section .tech-card {
  background-color: var(--background);
}

#features-section .tech-card h3,
#features-section .tech-card h4,
#features-section .tech-card p,
#features-section .tech-card ul li span {
  color: var(--text);
}

/* Ensure feature-icon and tech-badge colors are appropriate on black cards */
#features-section .feature-icon {
  filter: none; /* Removed invert filter to restore original SVG colors */
}

#features-section .tech-badge {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
}

#features-section .features-header-wrapper h2,
#features-section .features-header-wrapper p.lead {
  text-align: left !important;
}

@keyframes footerShine {
  0% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.5;
  }
}

/* Hindi Technology Hero Section - Premium, Consistent with Main Hero */
.hindi-tech-hero-section,
section.hindi-tech-hero-section {
  background: none !important;
  border: none !important;
  padding-top: 0px !important;
  padding-bottom: 60px !important;
}
.hindi-tech-hero-title {
  font-size: 3.2rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.01em;
  font-family: 'Arimo', 'Inter', Arial, sans-serif;
  text-align: left;
  margin-bottom: 0.2em;
}
.hindi-tech-hero-accent {
  width: 80px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, #00eaff 0%, #6f00ff 100%);
  opacity: 0.85;
  margin-left: 0;
  margin-bottom: 1.2em;
}
.hindi-tech-hero-subtitle {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.3em;
  text-align: left;
}
.hindi-tech-hero-desc {
  color: var(--text-secondary);
  font-size: 1.15rem;
  margin-bottom: 2em;
  font-weight: 400;
  text-align: left;
}
.hindi-tech-hero-btn-premium {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 1.1em 2.5em;
  font-size: 1.18rem;
  font-weight: 700;
  border-radius: 2em;
  background: #101014;
  color: #fff !important;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  text-shadow: 0 1px 8px rgba(0,0,0,0.10);
  text-decoration: none;
  box-shadow: 0 2px 16px rgba(0,0,0,0.10);
  z-index: 1;
  transition: transform 0.18s, box-shadow 0.18s, background 0.18s;
}
.hindi-tech-hero-btn-premium svg {
  flex-shrink: 0;
}
.hindi-tech-hero-btn-premium::before,
.hindi-tech-hero-btn-premium::after {
  display: none !important;
  content: none !important;
}
@keyframes runningBorder {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}
.hindi-tech-hero-btn-premium:hover {
  background: #18181c;
  color: #fff !important;
  transform: scale(1.04);
}
.hindi-tech-hero-logo-premium {
  max-width: 320px;
  width: 100%;
  margin: 0 auto;
  display: block;
}
.hindi-btn-logo {
  display: inline-block;
  vertical-align: middle;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
  height: 28px;
  width: 28px;
}
.hindi-tech-hero-btn-premium:hover .hindi-btn-logo {
  transform: rotate(360deg);
}
@media (max-width: 991px) {
  .hindi-tech-hero-title {
    font-size: 2.2rem;
  }
  .hindi-tech-hero-logo-premium {
    max-width: 180px;
  }
  .hindi-tech-hero-section,
  section.hindi-tech-hero-section {
    padding-top: 15px !important;
    padding-bottom: 40px !important;
  }
}
@media (max-width: 768px) {
  .hindi-tech-hero-title {
    font-size: 2rem;
    display: inline-block;
    text-align: center;
    width: 100%;
  }
  .hindi-tech-hero-accent-bar {
    height: 3px;
    width: 100%;
    margin-top: 0.18em;
    margin-left: auto;
    margin-right: auto;
  }
  .hindi-tech-hero-btn-premium {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
  }
  .hindi-tech-hero-title {
    font-size: 1.5rem;
  }
  .hindi-tech-hero-logo-premium {
    max-width: 110px;
    margin-bottom: 1.5rem;
  }
  .hindi-tech-hero-btn-premium {
    font-size: 1rem;
    padding: 0.7em 1.3em;
  }
  .hindi-tech-hero-section,
  section.hindi-tech-hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px !important;
  }
  .hindi-tech-hero-accent {
    width: 48px;
    height: 3px;
    margin-bottom: 0.7em;
  }
}

/* Hindi Technology Hero Box - White Border, Like Allin Platform */
.hindi-tech-hero-box {
  background: linear-gradient(145deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1.5px solid rgb(255, 255, 255);
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.18);
  max-width: 950px;
  margin: 0 auto;
  padding: 3.5rem 3rem;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
}
@media (max-width: 991px) {
  .hindi-tech-hero-box {
    max-width: 98vw;
    padding: 2rem 1rem;
  }
}
@media (max-width: 768px) {
  .hindi-tech-hero-box {
    padding: 1.2rem 0.5rem;
    border-radius: 14px;
  }
  .hindi-tech-hero-title,
  .hindi-tech-hero-subtitle,
  .hindi-tech-hero-desc {
    text-align: center !important;
  }
  .hindi-tech-hero-accent {
    margin-left: auto;
    margin-right: auto;
  }
}
/* AllOpen Boxes - Screenshot Style */
.allopen-boxes-container:not(.product-boxes-center),
.hindi-tech-hero-section .allopen-boxes-container:not(.product-boxes-center),
.container .allopen-boxes-container:not(.product-boxes-center),
#hindi-technology-section .allopen-boxes-container:not(.product-boxes-center) {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 1.5rem !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0rem 1rem 2rem 1rem !important;
}

/* Product Section Styling */
.product-section {
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0, 234, 255, 0.03) 50%, rgba(0,0,0,0) 100%);
  padding-top: 2.5rem;
  padding-bottom: 3rem;
}

.section-header {
  margin-bottom: 2.5rem !important;
  max-width: 700px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 0 1rem !important;
}

.section-header h2 {
  letter-spacing: -0.02em;
}

.section-header .lead {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.2rem;
}

/* Center product boxes - Professional big tech company style */
.allopen-boxes-container.product-boxes-center,
.product-boxes-center {
  max-width: 700px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 1.5rem !important;
  padding: 0 1rem !important;
  width: 100% !important;
  justify-items: center !important;
}

/* Two-column layout for AllinLocal with Register box */
.product-boxes-center.two-columns {
  max-width: 1200px !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 2rem !important;
}

/* Align section header with two-column boxes */
.product-section:has(.two-columns) .section-header {
  max-width: 1200px !important;
}

/* Responsive adjustments for product boxes */
@media (max-width: 992px) {
  .product-boxes-center.two-columns {
    grid-template-columns: 1fr !important;
    max-width: 700px !important;
    gap: 1.5rem !important;
  }
  
  .product-section:has(.two-columns) .section-header {
    max-width: 700px !important;
  }
}

@media (max-width: 768px) {
  .product-boxes-center {
    max-width: 100% !important;
    padding: 0 0.5rem !important;
  }
  
  .product-boxes-center.two-columns {
    max-width: 100% !important;
  }
  
  .allopen-box {
    padding: 1.5rem !important;
  }
}

@media (max-width: 576px) {
  .product-boxes-center {
    padding: 0 0.25rem !important;
  }
  
  .allopen-box {
    padding: 1.25rem !important;
  }
  
  .allopen-box-title {
    font-size: 1.3rem !important;
  }
  
  .allopen-box-desc {
    font-size: 0.95rem !important;
  }
}

/* Product buttons container */
.product-buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
  align-items: center;
}

.product-buttons .allopen-box-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.product-buttons .allopen-box-btn i {
  font-size: 1.2rem;
}

/* Product logo styling */
.product-logo-container {
  text-align: center;
  margin-bottom: 1.5rem;
}

.product-logo {
  height: 60px;
  width: auto;
  filter: drop-shadow(0 0 15px rgba(0, 242, 254, 0.4));
  transition: all 0.3s ease;
}

.product-logo:hover {
  filter: drop-shadow(0 0 20px rgba(0, 242, 254, 0.6));
  transform: scale(1.05);
}

.allopen-box,
div.allopen-box {
  background: #1a1a1a !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 12px !important;
  padding: 2rem !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  transition: transform 0.3s ease, border-color 0.3s ease;
  min-height: 280px !important;
}

.allopen-box:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.25);
}

.allopen-box-title,
h3.allopen-box-title {
  font-size: 1.5rem !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  margin-bottom: 1rem !important;
  line-height: 1.2 !important;
}

.allopen-box-desc,
p.allopen-box-desc {
  font-size: 1rem !important;
  color: rgba(255, 255, 255, 0.7) !important;
  line-height: 1.6 !important;
  margin-bottom: 1.5rem !important;
  flex-grow: 1 !important;
}

.allopen-box-btn,
a.allopen-box-btn,
button.allopen-box-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.2rem !important;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 8px;
  background: #1a1a1a !important;
  color: #ffffff !important;
  border: 2px solid #333333 !important;
  text-decoration: none !important;
  transition: all 0.3s ease;
  width: fit-content;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  font-family: inherit;
}

.allopen-box-btn:hover,
a.allopen-box-btn:hover,
button.allopen-box-btn:hover {
  background: #252525 !important;
  border-color: #444444 !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  color: #ffffff !important;
}

.allopen-box-btn:focus {
  outline: none;
}

.allopen-box-btn img,
.allopen-box-btn .allopen-webapp-logo,
.allopen-box-btn .allopen-app-logo {
  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;
  min-height: 24px !important;
  object-fit: contain !important;
  transition: transform 0.3s ease;
  display: block !important;
  flex-shrink: 0 !important;
}

/* WebApp Logo - Visible and Cute for Dark Button */
.allopen-webapp-logo,
img.allopen-webapp-logo {
  filter: brightness(1.2) !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* App Logo - Visible and Cute for Dark Button */
.allopen-app-logo,
img.allopen-app-logo {
  filter: brightness(1.2) !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* AllTask Logo - Visible and Cute for Dark Button */
img[src*="alltask_logo"],
.allopen-box-btn img[src*="alltask_logo"] {
  filter: brightness(1.2) !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Allin-Local Logo - PNG for Dark Button */
img[src*="allin-local_logo"],
.allopen-box-btn img[src*="allin-local_logo"] {
  filter: brightness(1.2) !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.allopen-box-btn:hover img {
  transform: scale(1.15);
}

/* Custom Alert Modal */
.allopen-alert-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.allopen-alert-modal.active {
  display: flex;
}

.allopen-alert-content {
  background: #0a0a0a;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 2.5rem;
  max-width: 500px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.allopen-alert-content h3 {
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.allopen-alert-content p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.allopen-alert-btn,
button.allopen-alert-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem !important;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 8px;
  background: #1a1a1a !important;
  color: #ffffff !important;
  border: 2px solid #333333 !important;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  font-family: inherit;
}

.allopen-alert-btn:hover,
button.allopen-alert-btn:hover {
  background: #252525 !important;
  border-color: #444444 !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  color: #ffffff !important;
}

/* Responsive Design */
@media (max-width: 991px) {
  .allopen-boxes-container,
  .hindi-tech-hero-section .allopen-boxes-container,
  .container .allopen-boxes-container,
  #hindi-technology-section .allopen-boxes-container {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
    max-width: 600px !important;
  }
  
  /* Ensure proper order on mobile */
  .allopen-box.order-1 {
    order: 1;
  }
  
  .allopen-box.order-2 {
    order: 2;
  }
  
  .allopen-box.order-3 {
    order: 3;
  }
  
  .allopen-box.order-4 {
    order: 4;
  }
  
  .allopen-box,
  div.allopen-box {
    padding: 2rem !important;
    min-height: auto !important;
  }
  
  .allopen-box-title,
  h3.allopen-box-title {
    font-size: 1.3rem !important;
  }
  
  .allopen-box-desc,
  p.allopen-box-desc {
    font-size: 0.95rem !important;
  }
}

@media (max-width: 768px) {
  .allopen-boxes-container,
  .hindi-tech-hero-section .allopen-boxes-container,
  .container .allopen-boxes-container,
  #hindi-technology-section .allopen-boxes-container {
    padding: 1rem !important;
  }
  
  .allopen-box,
  div.allopen-box {
    padding: 1.5rem !important;
    min-height: auto !important;
  }
  
  .allopen-box-title,
  h3.allopen-box-title {
    font-size: 1.2rem !important;
  }
  
  .allopen-box-desc,
  p.allopen-box-desc {
    font-size: 0.9rem !important;
  }
  
  .allopen-box-btn,
  a.allopen-box-btn,
  button.allopen-box-btn {
    padding: 0.6rem 1rem !important;
    font-size: 0.85rem !important;
  }
  
  .allopen-box-btn img,
  .allopen-box-btn .allopen-webapp-logo,
  .allopen-box-btn .allopen-app-logo {
    width: 20px !important;
    height: 20px !important;
  }
  
  .product-buttons {
    align-items: center !important;
  }
  
  .allopen-box-btn,
  a.allopen-box-btn,
  button.allopen-box-btn {
    align-self: center;
    min-height: 40px;
  }
}

/* Ensure logo is first on mobile */
@media (max-width: 768px) {
  .hindi-tech-hero-section .row {
    flex-direction: column !important;
  }
  .hindi-tech-hero-logo-premium {
    margin-bottom: 1.5rem;
  }
}

/* Hindi Technology Section - Premium, Compact, Modern */
#hindi-technology-section,
section#hindi-technology-section {
  padding-top: 100px !important;
  padding-bottom: 10px !important;
  background: none !important;
}
#hindi-technology-section .container {
  max-width: 1200px !important;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
#hindi-technology-section .hindi-tech-intro-title {
  font-size: 2.1rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 1.5rem !important;
  letter-spacing: 0.01em;
  text-align: left;
  font-family: 'Arimo', 'Inter', Arial, sans-serif;
  position: relative;
  display: inline-block;
  border-bottom: none !important;
}
#hindi-technology-section hr,
#hindi-technology-section .hr,
#hindi-technology-section .divider {
  display: none !important;
  border: none !important;
  background: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}
#hindi-technology-section .hindi-tech-intro-accent-bar {
  display: block;
  height: 3px;
  width: 100%;
  background: #cacaca;
  border-radius: 2px;
  margin-top: 0.3em;
  margin-left: 0;
  margin-right: 0;
  opacity: 1;
}
#hindi-technology-section .hindi-tech-intro-desc {
  font-size: 1.18rem;
  color: var(--text-secondary);
  font-weight: 400;
  line-height: 1.6;
  text-align: left;
  margin-bottom: 0;
  margin-top: 1.2rem;
}
@media (max-width: 768px) {
  #hindi-technology-section,
  section#hindi-technology-section {
    padding-top: 60px !important;
    padding-bottom: 10px !important;
  }
  #hindi-technology-section .container {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  #hindi-technology-section .hindi-tech-intro-title {
    font-size: 1.5rem;
    text-align: center;
    display: inline-block;
    width: 100%;
  }
  #hindi-technology-section .hindi-tech-intro-accent-bar {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
  }
  #hindi-technology-section .hindi-tech-intro-desc {
    font-size: 1rem;
    text-align: center;
  }
}

#hindi-technology-section .container,
.hindi-tech-hero-box {
  max-width: 1200px;
}
@media (max-width: 991px) {
  #hindi-technology-section .container,
  .hindi-tech-hero-box {
    max-width: 98vw;
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

.hindi-tech-blue {
  color: #00bfff;
  font-weight: 700;
}
.hindi-tech-purple {
  color: #fff;
  font-weight: 400;
}

.hindi-tech-hero-btn-premium {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7em;
  padding: 0.95em 2.3em;
  font-size: 1.18rem;
  font-weight: 700;
  border-radius: 10px;
  background: #fff;
  color: #111 !important;
  border: 2px solid #111;
  box-shadow: 0 0 0 4px #fff, 0 0 0 7px #111, 0 4px 32px 0 rgba(0,0,0,0.45);
  text-shadow: none;
  text-decoration: none;
  transition: box-shadow 0.18s, background 0.18s, color 0.18s, border-color 0.18s, transform 0.18s;
  position: relative;
  z-index: 1;
}
.hindi-tech-hero-btn-premium:hover .hindi-btn-logo {
  transform: rotate(360deg) scale(1.18);
  filter: drop-shadow(0 0 8px #00eaff88);
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1), filter 0.3s;
}
.hindi-btn-logo {
  filter: none;
  height: 28px;
  width: 28px;
  margin-right: 0.5em;
}

@media (max-width: 991px) and (min-width: 769px) {
  .contact-section .row.g-4 {
    flex-direction: column !important;
    align-items: center !important;
  }
  .contact-section .row.g-4 > [class*="col-"] {
    max-width: 420px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 32px;
  }
  .contact-section .tech-card {
    padding: 2rem 1.2rem;
    min-width: 0;
  }
}
