/* 
   Apex Business & HR Consulting - Custom Stylesheet
   Corporate Premium & Modern Minimal Design System
*/

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

:root {
  --primary: #0b1a30; /* Deep Executive Navy */
  --primary-rgb: 11, 26, 48;
  --secondary: #0056b3; /* Premium Royal Blue */
  --secondary-rgb: 0, 86, 179;
  --accent: #00d2c4; /* Vibrant Professional Teal */
  --accent-rgb: 0, 210, 196;
  --dark-slate: #1e293b; /* Dark text */
  --light-slate: #64748b; /* Subtitle text */
  --bg-light: #f8fafc; /* Professional light background */
  --bg-white: #ffffff;
  --border-light: #e2e8f0;
  --font-sans: 'Inter', sans-serif;
  --font-title: 'Outfit', sans-serif;
  --transition-smooth: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 30px rgba(11, 26, 48, 0.05);
  --shadow-lg: 0 20px 40px rgba(11, 26, 48, 0.08);
}

body {
  font-family: var(--font-sans);
  color: var(--dark-slate);
  background-color: var(--bg-white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  font-weight: 700;
  color: var(--primary);
}

/* --- Premium Buttons --- */
.btn-premium-primary {
  background-color: var(--primary);
  color: var(--bg-white);
  border: 2px solid var(--primary);
  font-weight: 500;
  padding: 12px 30px;
  border-radius: 6px;
  transition: var(--transition-smooth);
  font-family: var(--font-title);
  letter-spacing: 0.5px;
}

.btn-premium-primary:hover {
  background-color: transparent;
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-premium-outline {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  font-weight: 500;
  padding: 12px 30px;
  border-radius: 6px;
  transition: var(--transition-smooth);
  font-family: var(--font-title);
  letter-spacing: 0.5px;
}

.btn-premium-outline:hover {
  background-color: var(--primary);
  color: var(--bg-white);
  transform: translateY(-2px);
}

.btn-premium-accent {
  background-color: var(--accent);
  color: var(--primary);
  border: 2px solid var(--accent);
  font-weight: 600;
  padding: 12px 30px;
  border-radius: 6px;
  transition: var(--transition-smooth);
  font-family: var(--font-title);
  letter-spacing: 0.5px;
}

.btn-premium-accent:hover {
  background-color: transparent;
  color: var(--accent);
  transform: translateY(-2px);
}

/* --- Header / Sticky Navbar --- */
.header-top {
  background-color: var(--primary);
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

.navbar {
  padding: 15px 0;
  background-color: var(--bg-white);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.navbar.sticky-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  padding: 10px 0;
  animation: slideDown 0.35s ease-out;
  box-shadow: var(--shadow-md);
}

.navbar-brand {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 24px;
  color: var(--primary) !important;
  display: flex;
  align-items: center;
  gap: 10px;
}

.navbar-nav .nav-link {
  font-family: var(--font-title);
  font-weight: 500;
  color: var(--primary) !important;
  padding: 8px 16px !important;
  transition: var(--transition-smooth);
  position: relative;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 16px;
  right: 16px;
  height: 2px;
  background-color: var(--secondary);
  transform: scaleX(0);
  transition: var(--transition-smooth);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .active > .nav-link::after,
.navbar-nav .nav-link.active::after {
  transform: scaleX(1);
}

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

.dropdown-menu {
  border: none;
  box-shadow: var(--shadow-lg);
  border-radius: 8px;
  padding: 10px 0;
  animation: fadeIn 0.2s ease-out;
}

.dropdown-item {
  font-weight: 500;
  padding: 8px 20px;
  color: var(--primary);
  transition: var(--transition-smooth);
}

.dropdown-item:hover {
  background-color: var(--bg-light);
  color: var(--secondary);
  padding-left: 25px;
}

/* --- Hero Banner Slider --- */
.hero-slider {
  position: relative;
  height: 90vh;
  min-height: 550px;
  overflow: hidden;
  background-color: var(--primary);
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  align-items: center;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  z-index: 2;
}

.hero-slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.hero-slide-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(11, 26, 48, 0.95) 40%, rgba(11, 26, 48, 0.4));
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  color: var(--bg-white);
  max-width: 750px;
}

.hero-content h1 {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.15;
  color: var(--bg-white);
  margin-bottom: 20px;
  transform: translateY(30px);
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) 0.2s;
}

.hero-content p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 30px;
  transform: translateY(30px);
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) 0.4s;
}

.hero-content .hero-buttons {
  transform: translateY(30px);
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) 0.6s;
}

.hero-slide.active .hero-content h1,
.hero-slide.active .hero-content p,
.hero-slide.active .hero-content .hero-buttons {
  transform: translateY(0);
  opacity: 1;
}

.hero-nav {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  gap: 12px;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
}

.hero-dot.active {
  background-color: var(--accent);
  transform: scale(1.2);
}

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

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

.section-title-wrapper {
  margin-bottom: 60px;
}

.section-subtitle {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--secondary);
  letter-spacing: 2px;
  margin-bottom: 10px;
  display: block;
}

.section-title {
  font-size: 40px;
  font-weight: 800;
  position: relative;
  padding-bottom: 15px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background-color: var(--accent);
  border-radius: 2px;
}

.text-center .section-title::after {
  left: 50%;
  transform: translateX(-50%);
}

/* --- Premium Grid Cards --- */
.premium-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 40px 30px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  height: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.premium-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--secondary);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition-smooth);
}

.premium-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.premium-card:hover::before {
  transform: scaleX(1);
}

.card-icon-wrapper {
  width: 70px;
  height: 70px;
  border-radius: 8px;
  background-color: var(--bg-light);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  margin-bottom: 25px;
  transition: var(--transition-smooth);
}

.premium-card:hover .card-icon-wrapper {
  background-color: var(--primary);
  color: var(--accent);
}

.premium-card h3 {
  font-size: 22px;
  margin-bottom: 15px;
  font-weight: 600;
}

.premium-card p {
  color: var(--light-slate);
  margin-bottom: 20px;
  flex-grow: 1;
  font-size: 15px;
}

.card-action-link {
  color: var(--secondary);
  font-weight: 600;
  text-decoration: none;
  font-family: var(--font-title);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-smooth);
  font-size: 15px;
}

.card-action-link i {
  transition: var(--transition-smooth);
}

.premium-card:hover .card-action-link {
  color: var(--accent);
}

.premium-card:hover .card-action-link i {
  transform: translateX(5px);
}

/* --- Stats Counter Section --- */
.stats-banner {
  background-color: var(--primary);
  color: var(--bg-white);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 48px;
  font-family: var(--font-title);
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 10px;
  display: block;
}

.stat-title {
  font-size: 16px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
}

/* --- Testimonials Card --- */
.testimonial-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 40px;
  box-shadow: var(--shadow-sm);
  position: relative;
  height: 100%;
}

.testimonial-quote {
  font-size: 16px;
  color: var(--light-slate);
  font-style: italic;
  margin-bottom: 30px;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 15px;
}

.testimonial-photo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-info h4 {
  font-size: 16px;
  margin-bottom: 2px;
  font-weight: 600;
}

.testimonial-info p {
  font-size: 13px;
  color: var(--light-slate);
  margin: 0;
}

.rating-stars {
  color: #ffc107;
  margin-bottom: 15px;
}

/* --- Footer --- */
.footer {
  background-color: var(--primary);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 20px 0;
  font-size: 14px;
}

.footer h4 {
  color: var(--bg-white);
  font-size: 18px;
  margin-bottom: 25px;
  font-weight: 600;
  position: relative;
  padding-bottom: 10px;
}

.footer h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--accent);
}

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

.footer a:hover {
  color: var(--accent);
  padding-left: 5px;
}

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

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

.footer-social-icons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.social-icon-btn:hover {
  background-color: var(--accent);
  color: var(--primary);
  transform: translateY(-3px);
}

.footer-bottom {
  margin-top: 60px;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
}

/* --- Internal Header Banners --- */
.page-header-banner {
  background-color: var(--primary);
  padding: 80px 0;
  color: var(--bg-white);
  position: relative;
  background-size: cover;
  background-position: center;
}

.page-header-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 26, 48, 0.85);
  z-index: 1;
}

.page-header-banner .container {
  position: relative;
  z-index: 2;
}

.page-header-banner h1 {
  color: var(--bg-white);
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 15px;
}

.breadcrumb {
  background: transparent;
  padding: 0;
  margin: 0;
}

.breadcrumb-item a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}

.breadcrumb-item.active {
  color: var(--accent);
}

/* --- Blog Post Card --- */
.blog-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.blog-card-img-wrapper {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.blog-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.blog-card:hover .blog-card-img {
  transform: scale(1.08);
}

.blog-card-category {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: var(--accent);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 4px;
  text-transform: uppercase;
}

.blog-card-body {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-card-meta {
  font-size: 13px;
  color: var(--light-slate);
  margin-bottom: 12px;
  display: flex;
  gap: 15px;
}

.blog-card-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}

.blog-card-title a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.blog-card-title a:hover {
  color: var(--secondary);
}

.blog-card-excerpt {
  color: var(--light-slate);
  font-size: 14px;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* --- Job Portal Styles --- */
.job-list-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 30px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.job-list-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--secondary);
}

.job-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
}

.job-tag {
  font-size: 12px;
  padding: 5px 12px;
  background-color: var(--bg-light);
  color: var(--light-slate);
  border-radius: 4px;
  font-weight: 500;
}

.job-tag i {
  margin-right: 5px;
}

/* Keyframe animations */
@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
