:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --secondary: #06b6d4;
  --dark: #0f172a;
  --light: #f8fafc;
  --gray: #64748b;
  --accent: #8b5cf6;
  --tech-gradient: linear-gradient(135deg, var(--primary), var(--secondary));
  --success: #10b981;
  --warning: #f59e0b;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: var(--light);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      circle at 10% 20%,
      rgba(37, 99, 235, 0.1) 0%,
      transparent 20%
    ),
    radial-gradient(
      circle at 90% 80%,
      rgba(6, 182, 212, 0.1) 0%,
      transparent 20%
    );
  z-index: -1;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-padding {
  padding: 50px 0;
}

.section-title {
  font-family: "Orbitron", sans-serif;
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--tech-gradient);
  border-radius: 2px;
}

/* ===== Header Styles ===== */
header {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid rgba(100, 116, 139, 0.2);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.logo {
  font-family: "Orbitron", sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--light);
  text-decoration: none;
  display: flex;
  align-items: center;
}

.logo span {
  color: var(--secondary);
}

.logo .tech {
  color: var(--primary);
}

.logo i {
  margin-right: 10px;
  color: var(--secondary);
  font-size: 1.5rem;
}

.nav-links {
  display: flex;
  gap: 25px;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  color: var(--light);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--secondary);
}

.nav-links a:not(.cta-button)::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary);
  transition: width 0.3s ease;
}

.nav-links a:not(.cta-button):hover::after {
  width: 100%;
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--secondary);
}

.cta-buttons,
.cta-button {
  background: var(--tech-gradient);
  color: white;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.cta-buttons:hover,
.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.6);
  background: linear-gradient(135deg, #1e40af 0%, #7c3aed 100%);
}

.mobile-menu-btn {
  display: none;
  color: var(--light);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ===== Dropdown Styles ===== */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
}

.dropdown-toggle i {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

/* Dropdown styles handled by allDropdown.css */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* HRMS Hero Section */
.hrms-hero {
  padding: 180px 0 30px;
  position: relative;
}

.hrms-hero-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.hrms-hero-text {
  flex: 1;
}

.hrms-hero-title {
  font-family: "Orbitron", sans-serif;
  font-size: 3.5rem;
  margin-bottom: 20px;
  background: var(--tech-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.hrms-hero-subtitle {
  font-size: 1.2rem;
  color: var(--secondary);
  margin-bottom: 30px;
}

.hrms-hero-description {
  font-size: 1.1rem;
  color: #cbd5e1;
  margin-bottom: 40px;
  line-height: 1.8;
}

.hrms-hero-image {
  flex: 1;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  position: relative;
}

.hrms-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
}

.hrms-animation {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  padding: 20px;
}

.hrms-animation i {
  font-size: 4rem;
  margin-bottom: 15px;
  animation: pulse 2s infinite;
}

.hrms-animation p {
  font-size: 1.1rem;
  font-weight: 500;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }

  100% {
    transform: scale(1);
  }
}

/* HRMS Features Section */
.hrms-features-section {
  margin-bottom: 10px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.feature-card {
  background: rgba(15, 23, 42, 0.6);
  border-radius: 15px;
  padding: 30px;
  border: 1px solid rgba(100, 116, 139, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--tech-gradient);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(37, 99, 235, 0.3);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--secondary);
  margin-bottom: 20px;
}

.feature-title {
  font-size: 1.3rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.feature-desc {
  color: #94a3b8;
  line-height: 1.7;
}

/* Implementation Section */
.implementation-section {
  margin-bottom: 0px;
}

.process-steps {
  display: flex;
  justify-content: space-between;
  margin: 30px 0;
  position: relative;
}

.process-steps:before {
  content: "";
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--secondary);
  z-index: 1;
}

.step {
  text-align: center;
  position: relative;
  z-index: 2;
  flex: 1;
}

.step-number {
  width: 40px;
  height: 40px;
  background: var(--secondary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  font-weight: bold;
}

.step-title {
  font-weight: 600;
  color: var(--light);
  font-size: 0.9rem;
}

/* Support Plans Section */
.support-section {
  margin-bottom: 80px;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.plan-card {
  text-align: center;
  padding: 30px 20px;
  border: 1px solid rgba(100, 116, 139, 0.2);
  border-radius: 15px;
  transition: all 0.3s ease;
  background: rgba(15, 23, 42, 0.6);
}

.plan-card.featured {
  border: 2px solid var(--secondary);
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(6, 182, 212, 0.15);
}

.plan-card:hover {
  border-color: var(--secondary);
  transform: translateY(-5px);
}

.plan-name {
  font-size: 22px;
  color: var(--light);
  margin-bottom: 15px;
}

.plan-price {
  font-size: 28px;
  color: var(--secondary);
  font-weight: bold;
  margin-bottom: 20px;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin-bottom: 25px;
}

.plan-features li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(100, 116, 139, 0.2);
  color: #94a3b8;
}

/* Testimonials Section */
.testimonials-section {
  margin-bottom: 80px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background: rgba(15, 23, 42, 0.6);
  border-radius: 15px;
  padding: 30px;
  border: 1px solid rgba(100, 116, 139, 0.2);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 10px;
  left: 20px;
  font-size: 4rem;
  color: var(--secondary);
  opacity: 0.3;
  font-family: Georgia, serif;
}

.testimonial-text {
  color: #cbd5e1;
  margin-bottom: 20px;
  line-height: 1.7;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.author-info {
  margin-left: 15px;
}

.author-name {
  font-weight: 600;
  color: var(--light);
}

.author-position {
  color: var(--secondary);
  font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
  background: var(--tech-gradient);
  border-radius: 20px;
  padding: 60px 40px;
  text-align: center;
  margin-bottom: 80px;
}

.cta-title {
  font-family: "Orbitron", sans-serif;
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.cta-subtitle {
  max-width: 700px;
  margin: 0 auto 30px;
  font-size: 1.1rem;
  line-height: 1.7;
}

.cta-button-large {
  background: var(--dark);
  color: white;
  padding: 15px 40px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  display: inline-block;
  text-decoration: none;
}

.cta-button-large:hover {
  transform: translateY(-3px);
  background: rgba(15, 23, 42, 0.9);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Footer */

/* Responsive styles */
@media (max-width: 992px) {
  .hrms-hero-content {
    flex-direction: column;
  }

  .process-steps {
    flex-wrap: wrap;
    gap: 20px;
  }

  .step {
    flex: 0 0 calc(50% - 20px);
  }
}

/* iPad Air (820px - 1023px) - Remove line between first and second step */
@media (min-width: 820px) and (max-width: 1023px) {
  .process-steps:before {
    display: none;
  }
}

@media (max-width: 768px) {
  .hrms-hero-title {
    font-size: 2.8rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .process-steps {
    flex-direction: column;
    gap: 30px;
  }

  .process-steps:before {
    display: none;
  }

  .step {
    flex: 1;
  }

  .cta-section {
    padding: 40px 20px;
  }

  .cta-title {
    font-size: 2rem;
  }

  /* Center align Explore HRMS Features button in mobile */
  .hrms-hero-text {
    text-align: center;
  }

  .hrms-hero-text .cta-button {
    display: inline-block;
    margin: 0 auto;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 0;
    padding-top: 80px;
    transition: right 0.3s ease;
    z-index: 999;
  }

  .nav-links a {
    width: 100%;
    padding: 15px 30px;
    border-bottom: 1px solid rgba(100, 116, 139, 0.1);
  }

  .nav-links.active {
    right: 0;
  }

  /* Dropdown styles handled by allDropdown.css */

  .mobile-menu-btn {
    display: block;
    z-index: 1000;
  }

  .footer-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .hrms-hero-title {
    font-size: 2.2rem;
  }

  .cta-title {
    font-size: 1.8rem;
  }

  /* Ensure button is centered on small mobile */
  .hrms-hero-text {
    text-align: center;
  }

  .hrms-hero-text .cta-button {
    display: inline-block;
    margin: 0 auto;
    text-align: center;
  }

  .cta-buttons,
  .cta-button {
    padding: 10px 24px;
    font-size: 0.9rem;
    width: auto;
    display: inline-block;
  }

  .cta-button-large {
    padding: 12px 30px;
    font-size: 1rem;
    margin-bottom: 10px;
  }

  .features-grid,
  .plans-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}
