/* Vortexsoft Staffing Services CSS */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Poppins:wght@400;500;600;700;800&display=swap');

:root {
  --primary-color: #1E2A78;
  --secondary-color: #E21B23;
  --accent-color: #F5F7FA;
  --text-dark: #555555;
  --text-light: #777777;
  --white: #ffffff;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background-color: var(--accent-color);
  padding-top: 0;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--primary-color);
}

/* Navbar */
.navbar {
  background-color: transparent;
  transition: var(--transition);
  padding: 20px 0;
  z-index: 1000;
}

.navbar.navbar-scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  padding: 10px 0;
}

.navbar-brand {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  color: var(--white) !important;
  font-size: 1.8rem;
  letter-spacing: -0.5px;
  transition: var(--transition);
}

.navbar-scrolled .navbar-brand {
  color: var(--primary-color) !important;
}

.navbar-brand span {
  color: var(--secondary-color);
}

.nav-link {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9) !important;
  transition: var(--transition);
  margin: 0 5px;
  font-family: 'Poppins', sans-serif;
}

.navbar-scrolled .nav-link {
  color: var(--text-dark) !important;
}

.nav-link:hover, .nav-link.active {
  color: var(--secondary-color) !important;
}

.navbar-scrolled .nav-link:hover, .navbar-scrolled .nav-link.active {
  color: var(--secondary-color) !important;
}

/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #B8151D 100%);
  border: none;
  padding: 14px 32px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  border-radius: 50px;
  transition: var(--transition);
  color: var(--white);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #B8151D 0%, #8A1016 100%);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 20px rgba(226, 27, 35, 0.3);
  color: var(--white);
}

.btn-outline-primary {
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  background: transparent;
  padding: 12px 30px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  border-radius: 50px;
  transition: var(--transition);
}

.btn-outline-primary:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 20px rgba(30, 42, 120, 0.2);
}

.btn-outline-light {
  border: 2px solid var(--white);
  padding: 12px 30px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  border-radius: 50px;
  transition: var(--transition);
  color: var(--white);
  background: transparent;
}

.btn-outline-light:hover {
  background: var(--white);
  color: var(--primary-color);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 20px rgba(255, 255, 255, 0.2);
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, rgba(30,42,120,0.95) 0%, rgba(226,27,35,0.85) 100%), url('https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&q=80') center/cover;
  color: var(--white);
  padding: 180px 0 120px;
  min-height: 85vh;
  display: flex;
  align-items: center;
  position: relative;
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 25px;
  color: var(--white);
  line-height: 1.15;
}

.hero-subtitle {
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 40px;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
}

/* Sections */
.section-padding {
  padding: 100px 0;
}

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

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  font-weight: 800;
}

.section-title p {
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

.section-title .underline {
  height: 4px;
  width: 60px;
  background-color: var(--secondary-color);
  margin: 20px auto 0;
  border-radius: 2px;
}

/* Cards */
.service-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 40px 30px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  height: 100%;
  border: 1px solid rgba(255,255,255,0.5);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, rgba(30,42,120,0.9) 100%);
  transition: var(--transition);
  z-index: -1;
  border-radius: 20px;
}

.service-card:hover::before {
  height: 100%;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(30, 42, 120, 0.1);
}

.service-card:hover h4, .service-card:hover p {
  color: var(--white);
}

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

.service-icon {
  font-size: 3rem;
  color: var(--secondary-color);
  margin-bottom: 25px;
  display: inline-block;
  transition: var(--transition);
}

/* Industry Grid */
.industry-item {
  text-align: center;
  padding: 40px 20px;
  background: var(--white);
  border-radius: 20px;
  transition: var(--transition);
  margin-bottom: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0,0,0,0.03);
}

.industry-item:hover {
  transform: translateY(-8px);
  background: linear-gradient(135deg, var(--primary-color) 0%, rgba(30,42,120,0.9) 100%);
  color: var(--white);
  box-shadow: 0 15px 30px rgba(30, 42, 120, 0.15);
}

.industry-item:hover .industry-icon,
.industry-item:hover h4 {
  color: var(--white);
}

.industry-icon {
  font-size: 3rem;
  color: var(--secondary-color);
  margin-bottom: 20px;
  transition: var(--transition);
}

.industry-item h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0;
  font-family: 'Poppins', sans-serif;
}

/* Footer */
.footer {
  background-color: #0A143A;
  color: var(--white);
  padding: 80px 0 20px;
}

.footer-brand {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 20px;
  display: block;
  text-decoration: none;
  color: var(--white);
  font-family: 'Poppins', sans-serif;
}

.footer-brand span {
  color: var(--secondary-color);
}

.footer p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
}

.footer h5 {
  color: var(--white);
  margin-bottom: 25px;
  font-weight: 600;
  font-size: 1.1rem;
  font-family: 'Poppins', sans-serif;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 15px;
}

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

.footer-links a:hover {
  color: var(--secondary-color);
  transform: translateX(5px);
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--white);
  border-radius: 50%;
  margin-right: 10px;
  transition: var(--transition);
  text-decoration: none;
}

.social-icons a:hover {
  background-color: var(--secondary-color);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-contact li {
  display: flex;
  margin-bottom: 15px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-contact i {
  color: var(--secondary-color);
  margin-right: 15px;
  margin-top: 5px;
}

.footer-bottom {
  margin-top: 60px;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  text-align: center;
}

/* Page Headers for subpages */
.page-header {
  background: linear-gradient(135deg, rgba(30,42,120,0.95) 0%, rgba(226,27,35,0.85) 100%);
  padding: 160px 0 80px;
  color: var(--white);
  text-align: center;
}

.page-header h1 {
  font-size: 3rem;
  color: var(--white);
  margin-bottom: 15px;
  font-family: 'Poppins', sans-serif;
}

.breadcrumb {
  justify-content: center;
  margin-bottom: 0;
}

.breadcrumb-item a {
  color: var(--white);
  font-weight: 500;
  text-decoration: none;
}

.breadcrumb-item a:hover {
  color: var(--secondary-color);
}

.breadcrumb-item.active {
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.5);
}

/* Form Styling */
.form-control, .form-select {
  padding: 12px 15px;
  border-radius: 10px;
  border: 1px solid #ddd;
}

.form-control:focus, .form-select:focus {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 0.2rem rgba(226, 27, 35, 0.25);
}

/* Job Cards */
.job-card {
  background: var(--white);
  border-radius: 20px;
  padding: 30px;
  margin-bottom: 20px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  border-left: 4px solid var(--secondary-color);
  transition: var(--transition);
}

.job-card:hover {
  transform: translateX(5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.8rem;
  }
  .section-padding {
    padding: 60px 0;
  }
  .page-header {
    padding: 120px 0 60px;
  }
  .navbar-collapse {
    background-color: var(--white);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-top: 10px;
  }
  .navbar-collapse .nav-link {
    color: var(--text-dark) !important;
  }
}
