:root {
  --primary: #0a0a0a;
  --accent: #1ab8c4;
  --accent-light: #e6f7f8;
  --text: #1a1a1a;
  --text-light: #666666;
  --white: #ffffff;
  --bg-light: #f8f9fa;
  --container-width: 1200px;
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
  font-family: "Outfit", sans-serif;
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  background-color: var(--white);
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 {
  font-size: 4rem;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 3rem;
  margin-bottom: 2rem;
  color: var(--primary);
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

p {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.5rem 0;
  background: var(--white);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  text-decoration: none;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary);
  letter-spacing: -0.05em;
  display: flex;
  align-items: center;
}

.logo span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--accent);
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--primary);
}

/* Mobile Menu Sidebar */
.mobile-menu {
  position: fixed;
  top: 0;
  left: -300px;
  width: 300px;
  height: 100vh;
  background: var(--white);
  z-index: 1002;
  box-shadow: 10px 0 30px rgba(0,0,0,0.1);
  transition: var(--transition);
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.mobile-menu.active {
  left: 0;
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
}

.mobile-menu-close {
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--primary);
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.5);
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

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

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-nav-links a {
  text-decoration: none;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary);
  transition: var(--transition);
}

.mobile-nav-links a:hover {
  color: var(--accent);
}

/* Contact btn inside mobile menu must stay white text */
.mobile-nav-links a.btn-primary,
.mobile-nav-links a.btn-primary:hover {
  color: var(--white);
}

/* Hero Section */
.hero {
  padding: 12rem 0 8rem;
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  color: var(--white);
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 10, 0.7) 0%,
    rgba(10, 10, 10, 0.4) 50%,
    rgba(10, 10, 10, 0.7) 100%
  );
  z-index: 2;
}

.hero-animated-bg {
  background: linear-gradient(-45deg, var(--bg-light), #e2e2e2, var(--white), #f0f0f0);
  background-size: 400% 400%;
  animation: heroGradientFlow 15s ease infinite;
  position: relative;
}

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

.hero .container {
  position: relative;
  z-index: 3;
}

.hero-content {
  max-width: 800px;
}

.hero h1 {
  color: var(--white);
}

.hero h1 span {
  color: var(--accent);
}

.hero p {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 2rem 0;
}

/* Secondary Button for Hero */
.hero .btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

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

/* Sections */
section {
  padding: 8rem 0;
}

.section-light {
  background-color: var(--bg-light);
}

/* Cards/Blocks */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--white);
  padding: 3rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.05);
  border-color: var(--accent);
}

.card-icon {
  width: 72px;
  height: 72px;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  transition: var(--transition);
}

.card:hover .card-icon {
  background: var(--accent);
  color: var(--white);
  transform: scale(1.1);
}

.card-icon svg {
  width: 32px;
  height: 32px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
}

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

.btn-primary:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(26, 184, 196, 0.2);
}

.btn-secondary {
  background: var(--white);
  color: var(--primary);
  border: 1px solid var(--primary);
}

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

.btn-nav {
  padding: 0.75rem 1.5rem;
  background: var(--accent);
  color: var(--white) !important;
  border-radius: 999px;
}

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

.btn-text {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.btn-text:hover {
  gap: 1rem;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

/* Footer */
.footer {
  background: var(--primary);
  color: rgba(255, 255, 255, 0.7);
  padding: 6rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

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

.footer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition);
}

.footer a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
}

/* Utilities */
.text-center {
  text-align: center;
}

/* Chart and Network Animations from Consultancy Page */
.chart-container {
    overflow: hidden;
}

/* Mobile Responsive */
@media (max-width: 991px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.5rem; }
  .nav-links { display: none; }
  .mobile-nav-toggle { display: block; }
  .grid { grid-template-columns: 1fr !important; }
  .hero-btns { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  .hero { padding: 8rem 0 4rem; text-align: center; }
  section { padding: 4rem 0; }
  .navbar .logo {
      font-size: 1.25rem;
  }
}
