/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
  /* R. Solution Brand Colors */
  --brand-red: #eb1c22;

  --primary: var(--brand-red);
  --primary-glow: rgba(235, 28, 34, 0.5);
  --secondary: #000000;
  --secondary-glow: rgba(0, 0, 0, 0.5);

  --accent: #ffffff;

  --dark-bg: #050505;
  --dark-surface: #121212;

  --text-main: #ffffff;
  --text-muted: #d4d4d4;

  /* Glassmorphism */
  --glass-bg: rgba(20, 20, 20, 0.85);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-blur: 12px;

  --radius-lg: 0.5rem;
  --radius-xl: 1rem;

  --ease-elastic: cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', 'Outfit', sans-serif;
  background-color: var(--dark-bg);
  color: var(--text-main);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  line-height: 1.6;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  letter-spacing: -1px;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

/* Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-gradient {
  background: linear-gradient(135deg, #ffffff 0%, #a3a3a3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: white;
}

.btn-premium {
  background: white;
  color: var(--brand-red);
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 20px -5px rgba(235, 28, 34, 0.5);
  /* Red glow */
  transition: transform 0.3s var(--ease-elastic), box-shadow 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: none;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

.btn-premium:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 15px 30px -5px rgba(255, 255, 255, 0.8);
  background: #fff;
}

.btn-outline {
  border: 2px solid white;
  color: white;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-outline:hover {
  background: white;
  color: var(--brand-red);
}

/* Glassmorphism Cards */
.glass-card {
  background: var(--dark-surface);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-red), white);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-elastic);
}

.glass-card:hover {
  transform: translateY(-8px);
  border-color: rgba(235, 28, 34, 0.3);
  box-shadow: 0 20px 40px -10px rgba(235, 28, 34, 0.1);
}

.glass-card:hover::before {
  transform: scaleX(1);
}

/* Icon Box Enhancement */
.icon-box {
  width: 80px;
  height: 80px;
  background: rgba(235, 28, 34, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.glass-card:hover .icon-box {
  background: var(--brand-red);
  transform: scale(1.1) rotate(5deg);
}

.glass-card:hover .icon-box i {
  color: white !important;
}

/* Animations & Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fadeInHero {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-header {
  animation: slideDown 0.8s ease-out forwards;
}

.animate-hero {
  animation: fadeInHero 1s ease-out forwards;
}

.delay-1 {
  transition-delay: 0.1s;
  animation-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
  animation-delay: 0.2s;
}

.delay-3 {
  transition-delay: 0.3s;
  animation-delay: 0.3s;
}

.delay-4 {
  transition-delay: 0.4s;
}

.delay-5 {
  transition-delay: 0.5s;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 0.5rem 0;
  background: var(--brand-red);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100px;
}

.logo-img {
  height: 90px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.logo-img:hover {
  transform: scale(1.05);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-weight: 600;
  color: white;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background: white;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* Footer */
footer {
  background: #080808;
  color: white;
  padding: 4rem 0 2rem;
  margin-top: 4rem;
  border-top: 4px solid var(--brand-red);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #222;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Page Specific Styles - Moving inline styles to classes */

/* Hero Sections */
.hero-section {
  position: relative;
  padding: 10rem 0 6rem;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: radial-gradient(circle at top right, #1a0505 0%, #050505 50%);
}

.hero-title {
  font-size: 4.5rem;
  margin-bottom: 1.5rem;
  text-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
  color: var(--brand-red);
  font-size: 3rem;
  display: block;
}

.hero-text {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 800px;
  margin: 0 auto 3rem;
}

/* Section Spacing & Backgrounds */
.section-padding {
  padding: 6rem 0;
}

.section-lg {
  padding: 8rem 0;
}

.bg-gradient-dark {
  background: linear-gradient(180deg, #050505 0%, #0a0000 100%);
}

.bg-radial-top {
  background: radial-gradient(circle at top, #1a0505 0%, #050505 50%);
}

/* Grids */
.grid-services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}

.grid-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  text-align: center;
}

/* Icon Containers */
.feature-icon-wrapper {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.feature-icon-wrapper i {
  font-size: 2rem;
  color: var(--brand-red);
}

.glass-card:hover .feature-icon-wrapper {
  background: var(--brand-red);
}

.glass-card:hover .feature-icon-wrapper i {
  color: white;
}

/* Call to Action */
.cta-section {
  padding: 8rem 0;
  background: var(--brand-red);
  text-align: center;
  clip-path: polygon(0 10%, 100% 0, 100% 100%, 0 100%);
  margin-top: -3rem;
}

.cta-title {
  margin-bottom: 2rem;
  color: white;
  font-size: 3rem;
}

.cta-text {
  font-size: 1.5rem;
  margin-bottom: 3rem;
  color: white;
}

.btn-cta {
  color: var(--brand-red);
  background: white;
  padding: 1rem 3rem;
  font-size: 1.2rem;
}

/* Contact Form */
.form-input {
  width: 100%;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid #333;
  color: white;
  border-radius: 0.5rem;
}

.form-input:focus {
  outline: none;
  border-color: var(--brand-red);
  background: rgba(255, 255, 255, 0.1);
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
}


/* Utility Classes */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.text-brand {
  color: var(--brand-red);
}

.text-muted-fg {
  color: var(--text-muted);
}

.w-100 {
  width: 100%;
}

.h-100 {
  height: 100%;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.mb-1 {
  margin-bottom: 0.25rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-3 {
  margin-bottom: 1rem;
}

.mb-4 {
  margin-bottom: 1.5rem;
}

.mb-5 {
  margin-bottom: 3rem;
}

.mb-6 {
  margin-bottom: 4rem;
}

.mt-1 {
  margin-top: 0.5rem;
}

.mt-2 {
  margin-top: 1rem;
}

.mt-3 {
  margin-top: 1.5rem;
}

.mt-4 {
  margin-top: 2rem;
}

.pt-10 {
  padding-top: 10rem;
}

.pb-0 {
  padding-bottom: 0 !important;
}

.min-h-auto {
  min-height: auto !important;
}

.bg-none {
  background: none !important;
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.justify-center {
  justify-content: center;
}

.align-center {
  align-items: center;
}

.gap-1 {
  gap: 0.5rem;
}

.gap-2 {
  gap: 1rem;
}

.gap-3 {
  gap: 1.5rem;
}

.gap-4 {
  gap: 2rem;
}

.flex-wrap {
  flex-wrap: wrap;
}

.flex-row-reverse {
  flex-direction: row-reverse;
}

.flex-1 {
  flex: 1;
}

.gap-5 {
  gap: 3rem;
}

.gap-6 {
  gap: 4rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.max-w-600 {
  max-width: 600px;
}

.max-w-800 {
  max-width: 800px;
}

.max-w-900 {
  max-width: 900px;
}

.lh-relaxed {
  line-height: 1.8;
}

.fs-1 {
  font-size: 3rem;
}

.fs-2 {
  font-size: 2.5rem;
}

.fs-3 {
  font-size: 2rem;
}

.fs-4 {
  font-size: 1.5rem;
}

.fs-5 {
  font-size: 1.25rem;
}

.fs-6 {
  font-size: 1.1rem;
}

.icon-md {
  font-size: 2.5rem;
}

.icon-lg {
  font-size: 3rem;
}

.icon-box-lg {
  width: 120px;
  height: 120px;
  font-size: 3rem;
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: rgba(235, 28, 34, 0.1);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.glass-card:hover .icon-box-lg {
  background: var(--brand-red);
  transform: scale(1.1) rotate(5deg);
}

.glass-card:hover .icon-box-lg i {
  color: white !important;
}