:root {
  /* Premium Color Palette */
  --primary-color: #ff6b00;
  /* Vibrant Orange */
  --primary-hover: #ff8533;
  --secondary-color: #0b1c2c;
  /* Deepest Navy */
  --secondary-light: #152a3d;
  /* Lighter Navy for cards */
  --accent-color: #00d4ff;
  /* Cyan accent for glows */

  --bg-light: #ffffff;
  --bg-off-white: #f8faFC;
  --bg-dark: #0b1c2c;

  --text-main: #1a202c;
  --text-muted: #64748b;
  --text-light: #f1f5f9;

  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.5);
  --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
  --glass-blur: blur(12px);

  /* Typography */
  --font-main: 'Inter', sans-serif;
  --font-heading: 'Outfit', sans-serif;

  /* Spacing & Layout */
  --container-width: 1280px;
  --header-height: 80px;

  /* Transitions */
  --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
  --transition-fast: 0.2s ease;
  --transition-normal: 0.4s var(--ease-out-expo);
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  color: var(--text-main);
  background-color: var(--bg-off-white);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Utilities */
.section-padding {
  padding: 100px 0;
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary-color), #ff9e42);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition-normal);
  border: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), #ff8533);
  color: var(--text-light);
  box-shadow: 0 10px 20px -5px rgba(255, 107, 0, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px -5px rgba(255, 107, 0, 0.5);
}

.btn-secondary {
  background: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
}

.btn-secondary:hover {
  background: var(--secondary-color);
  color: var(--text-light);
  transform: translateY(-3px);
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--glass-border);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: var(--transition-normal);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo img {
  height: 40px;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  font-weight: 500;
  color: var(--secondary-color);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--primary-color);
  transition: var(--transition-fast);
}

.nav-links a:hover {
  color: var(--primary-color);
}

.nav-links a:hover::after {
  width: 100%;
}

/* Hero Section */
.hero {
  position: relative;
  padding: 180px 0 120px;
  background: var(--bg-off-white);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 107, 0, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(11, 28, 44, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hero h1 {
  font-size: 4.5rem;
  margin-bottom: 1.5rem;
  color: var(--secondary-color);
  /* Animation */
  opacity: 0;
  animation: slideUpFade 0.8s var(--ease-out-expo) forwards;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  /* Animation */
  opacity: 0;
  animation: slideUpFade 0.8s var(--ease-out-expo) 0.2s forwards;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  /* Animation */
  opacity: 0;
  animation: slideUpFade 0.8s var(--ease-out-expo) 0.4s forwards;
}

/* Services Section */
.services-preview {
  background: var(--secondary-color);
  color: var(--text-light);
  position: relative;
}

.services-header {
  text-align: center;
  margin-bottom: 60px;
}

.services-header h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.services-header p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.card {
  background: var(--secondary-light);
  padding: 40px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.card:hover {
  transform: translateY(-10px);
  background: #1a324a;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition-normal);
}

.card:hover::before {
  transform: scaleX(1);
}

.card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-light);
}

.card p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

/* CTA Section */
.cta-section {
  background: #fff;
  text-align: center;
  position: relative;
}

.cta-box {
  background: linear-gradient(135deg, var(--primary-color), #ff4d4d);
  border-radius: 0;
  padding: 80px 40px;
  color: white;
  box-shadow: 0 20px 40px rgba(255, 107, 0, 0.2);
  margin-top: -80px;
  /* Overlap effect */
  position: relative;
  z-index: 10;
  width: 100%;
}

/* Footer */
.footer {
  background-color: var(--bg-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 80px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
}

.footer h3 {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

.footer ul li a {
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition-fast);
}

.footer ul li a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 60px;
  padding-top: 30px;
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.4);
}

/* Mobile Menu */
.hamburger {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--secondary-color);
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 3rem;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .hamburger {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    transform: translateY(-150%);
    transition: var(--transition-normal);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    z-index: 999;
  }

  .nav-links.active {
    transform: translateY(0);
  }
}

/* Animations */
@keyframes slideUpFade {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Inner Page Header */
.page-header {
  padding-top: calc(var(--header-height) + 60px);
  padding-bottom: 80px;
  background-color: var(--secondary-color);
  color: var(--text-light);
  text-align: center;
  margin-bottom: 40px;
}

.page-header h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.page-header p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
}