/*
Theme Name: Ace Corporate Services
Theme URI: https://acecorporateservices.com
Author: Ace Corporate Services
Author URI: https://acecorporateservices.com
Description: Professional recruitment consultancy theme for Ace Corporate Services - Mumbai's trusted recruitment partner since 2001.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ace-corporate
Tags: corporate, business, recruitment, consultancy, responsive, custom-menu, featured-images
*/

/* ========================================
   CSS VARIABLES
======================================== */
:root {
  /* Primary Colors */
  --primary: #d8433d;
  --primary-hover: #b73732;
  --primary-light: #f3c4c1;
  --primary-dark: #7a1f1b;
  
  /* Neutral Colors */
  --white: #ffffff;
  --off-white: #fafafa;
  --light-grey: #f5f5f5;
  --soft-beige: #efe6e3;
  --warm-grey: #6b6b6b;
  --slate-grey: #4a4a4a;
  --charcoal: #1f1f1f;
  
  /* Accent */
  --gold: #c9a24d;
  --cream: #fff4f1;
  
  /* Typography */
  --font-primary: 'Poppins', sans-serif;
  --font-secondary: 'Open Sans', sans-serif;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  
  /* Transitions */
  --transition: all 0.3s ease;
}

/* ========================================
   RESET & BASE
======================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-secondary);
  font-size: 16px;
  line-height: 1.6;
  color: var(--charcoal);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 600;
  line-height: 1.2;
  color: var(--charcoal);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
  margin-bottom: 1rem;
  color: var(--warm-grey);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-hover);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

/* ========================================
   UTILITY CLASSES
======================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--primary);
}

.section-header p {
  max-width: 600px;
  margin: 1.5rem auto 0;
}

.text-center { text-align: center; }
.text-white { color: var(--white); }
.text-primary { color: var(--primary); }

.bg-white { background-color: var(--white); }
.bg-light { background-color: var(--light-grey); }
.bg-cream { background-color: var(--cream); }
.bg-charcoal { background-color: var(--charcoal); }

.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 992px) {
  .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.75rem; }
  .section { padding: 3rem 0; }
}

/* ========================================
   BUTTONS
======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 500;
  border: 2px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--white);
}

.btn-white {
  background-color: var(--white);
  color: var(--primary);
  border-color: var(--white);
}

.btn-white:hover {
  background-color: var(--off-white);
}

.btn-outline-white {
  background-color: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline-white:hover {
  background-color: var(--white);
  color: var(--primary);
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
}

.btn-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ========================================
   HEADER & NAVIGATION
======================================== */

/* Top Header Bar */
.top-header {
  background-color: var(--charcoal);
  color: var(--white);
  padding: 0.5rem 0;
  font-size: 0.8125rem;
}

.top-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-header-tagline {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.top-header-contact {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.top-contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: var(--transition);
}

.top-contact-item:hover {
  color: var(--primary-light);
}

.top-contact-item svg {
  flex-shrink: 0;
}

.top-header-social {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.top-header-social a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.top-header-social a:hover {
  color: var(--primary-light);
}

@media (max-width: 768px) {
  .top-header {
    display: none;
  }
}

/* Main Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: var(--white);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.top-header + .site-header {
  top: 36px;
}

@media (max-width: 768px) {
  .top-header + .site-header {
    top: 0;
  }
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon svg {
  width: 28px;
  height: 28px;
  color: var(--white);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-text .brand-name {
  font-family: var(--font-primary);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.2;
}

.logo-text .brand-tagline {
  font-size: 0.75rem;
  color: var(--warm-grey);
  letter-spacing: 0.5px;
}

/* Main Navigation */
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.main-nav a {
  font-family: var(--font-primary);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--charcoal);
  padding: 0.5rem 0;
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--primary);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background-color: var(--charcoal);
  transition: var(--transition);
}

@media (max-width: 992px) {
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--white);
    box-shadow: var(--shadow-lg);
    padding: 1.5rem;
    display: none;
  }
  
  .main-nav.active {
    display: block;
  }
  
  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .header-cta .btn {
    display: none;
  }
}

/* ========================================
   HERO SECTION
======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(31, 31, 31, 0.9), rgba(31, 31, 31, 0.7));
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding-top: 80px;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 700px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(216, 67, 61, 0.15);
  color: var(--primary-light);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(216, 67, 61, 0.3);
}

.hero h1 {
  color: var(--white);
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero h1 span {
  color: var(--primary);
}

.hero p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.25rem;
  margin-bottom: 2rem;
  max-width: 550px;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.stat-item h3 {
  color: var(--primary);
  font-size: 2.5rem;
  font-weight: 700;
}

.stat-item p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  margin: 0;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.25rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
  }
}

/* ========================================
   SERVICES SECTION
======================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.service-card {
  background-color: var(--white);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--light-grey);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-light);
}

.service-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--cream), var(--primary-light));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.service-icon svg {
  width: 32px;
  height: 32px;
  color: var(--primary);
}

.service-icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.service-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
}

.service-card p {
  font-size: 0.9375rem;
  margin-bottom: 1rem;
}

.service-card .learn-more {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--primary);
  font-weight: 500;
  font-size: 0.875rem;
}

.service-card .learn-more:hover {
  gap: 0.5rem;
}

@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   INDUSTRIES SECTION - HOMEPAGE (REDESIGNED)
======================================== */
.industries-section-home {
  background: linear-gradient(180deg, #f8f8f8 0%, #ffffff 100%);
  padding: 5rem 0;
}

.industries-section-home .section-header {
  margin-bottom: 3rem;
}

.industries-section-home .section-label {
  display: block;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.industries-section-home .section-header h2 {
  color: var(--charcoal);
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.industries-section-home .section-header p {
  color: var(--warm-grey);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto;
}

.industries-home-grid {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.industry-home-card {
  background: var(--white);
  border-radius: 12px;
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  cursor: pointer;
}

@media (max-width: 1200px) {
  .industries-home-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (max-width: 992px) {
  .industries-home-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.industry-home-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(216, 67, 61, 0.12);
  border-color: rgba(216, 67, 61, 0.2);
}

.industry-home-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.industry-home-icon svg {
  width: 32px;
  height: 32px;
  color: var(--primary);
  transition: transform 0.3s ease;
}

.industry-home-card:hover .industry-home-icon svg {
  transform: scale(1.1);
}

.industry-home-name {
  color: var(--charcoal);
  font-size: 0.8125rem;
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .industries-home-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
  }
  
  .industry-home-card {
    padding: 1rem 0.75rem;
  }
  
  .industry-home-icon svg {
    width: 28px;
    height: 28px;
  }
  
  .industry-home-name {
    font-size: 0.6875rem;
  }
}

@media (max-width: 480px) {
  .industries-home-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ========================================
   INDUSTRIES SECTION - ARCHIVE PAGES
======================================== */
.industries-section {
  background-color: var(--charcoal);
  color: var(--white);
}

.industries-section .section-header h2 {
  color: var(--white);
}

.industries-section .section-header p {
  color: rgba(255, 255, 255, 0.7);
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.industry-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow);
  text-decoration: none;
  display: block;
  padding: 1.5rem;
}

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

.industry-card-image {
  background: var(--white);
}

.industry-card-thumbnail {
  width: 100%;
  height: 180px;
  overflow: hidden;
}

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

.industry-card:hover .industry-card-thumbnail img {
  transform: scale(1.05);
}

.industry-card-placeholder {
  background: var(--light-grey);
  display: flex;
  align-items: center;
  justify-content: center;
}

.industry-card-placeholder svg {
  width: 48px;
  height: 48px;
  color: var(--warm-grey);
}

.industry-card h3 {
  color: var(--charcoal);
  font-size: 1rem;
  font-weight: 600;
  padding: 1rem;
  margin: 0;
}

.industry-card:hover h3 {
  color: var(--primary);
}

.industry-icon {
  width: 56px;
  height: 56px;
  background: rgba(216, 67, 61, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.industry-icon svg {
  width: 28px;
  height: 28px;
  color: var(--primary);
}

.industry-card h4 {
  color: var(--charcoal);
  font-size: 0.9375rem;
  font-weight: 500;
  margin: 0;
}


/* Industries Archive Grid - Image + Title Only */
.industries-archive-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.industry-archive-card {
  display: block;
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.industry-archive-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.industry-archive-image {
  width: 100%;
  height: 180px;
  overflow: hidden;
  background: var(--light-grey);
}

.industry-archive-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.industry-archive-card:hover .industry-archive-image img {
  transform: scale(1.08);
}

.industry-placeholder-icon {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary) 0%, #a01c1c 100%);
}

.industry-placeholder-icon svg {
  color: var(--white);
  width: 64px;
  height: 64px;
}

.industry-archive-title {
  padding: 1rem 1.25rem;
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--charcoal);
  text-align: center;
  transition: var(--transition);
}

.industry-archive-card:hover .industry-archive-title {
  color: var(--primary);
}

@media (max-width: 992px) {
  .industries-grid,
  .industries-archive-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .industries-grid,
  .industries-archive-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .industries-grid,
  .industries-archive-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   WHY CHOOSE US SECTION
======================================== */
.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  align-items: center;
}

.why-choose-content h2 {
  margin-bottom: 1.5rem;
}

.why-choose-content > p {
  margin-bottom: 2rem;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.feature-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--cream);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
}

.feature-text h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.feature-text p {
  font-size: 0.875rem;
  margin: 0;
}

.why-choose-image {
  position: relative;
}

.why-choose-image img {
  border-radius: 16px;
  box-shadow: var(--shadow-xl);
}

.experience-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  padding: 1.5rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.experience-badge .years {
  font-size: 2.5rem;
  font-weight: 700;
  display: block;
}

.experience-badge .text {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media (max-width: 992px) {
  .why-choose-grid {
    grid-template-columns: 1fr;
  }
  
  .why-choose-image {
    order: -1;
  }
}

/* ========================================
   TESTIMONIALS SECTION
======================================== */
.testimonials-section {
  background-color: var(--light-grey);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonial-card {
  background-color: var(--white);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--shadow);
}

.testimonial-rating {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.testimonial-rating svg {
  width: 20px;
  height: 20px;
  color: var(--gold);
  fill: var(--gold);
}

.testimonial-text {
  font-style: italic;
  color: var(--slate-grey);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 600;
  font-size: 1.25rem;
}

.author-info h4 {
  font-size: 1rem;
  margin-bottom: 0.125rem;
}

.author-info p {
  font-size: 0.8125rem;
  margin: 0;
}

@media (max-width: 992px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   CTA SECTION
======================================== */
.cta-section {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  text-align: center;
}

.cta-section h2 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.cta-section .btn-group {
  justify-content: center;
}

/* ========================================
   ABOUT PAGE
======================================== */
.page-header {
  background-color: var(--dark);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 10rem 0 5rem;
  text-align: center;
  position: relative;
}

/* Adjust for top header bar */
body:has(.top-header) .page-header {
  padding-top: 12rem;
}

body:has(.top-header) .hero {
  padding-top: 2.5rem;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(31, 31, 31, 0.9), rgba(31, 31, 31, 0.8));
  z-index: 1;
}

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

.page-header h1 {
  color: var(--white);
  margin-bottom: 1rem;
  font-size: 2.75rem;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9375rem;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
}

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

.breadcrumb span {
  color: var(--primary);
}

.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-intro img {
  border-radius: 16px;
  box-shadow: var(--shadow-xl);
}

.mission-vision {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.mv-card {
  background-color: var(--white);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--light-grey);
}

.mv-card .icon {
  width: 64px;
  height: 64px;
  background: var(--cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.mv-card .icon svg {
  width: 28px;
  height: 28px;
  color: var(--primary);
}

.mv-card h3 {
  margin-bottom: 1rem;
}

@media (max-width: 992px) {
  .about-intro {
    grid-template-columns: 1fr;
  }
  
  .mission-vision {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   SERVICES PAGE
======================================== */
.services-detailed {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.service-detail:nth-child(even) {
  direction: rtl;
}

.service-detail:nth-child(even) > * {
  direction: ltr;
}

.service-detail-content h2 {
  margin-bottom: 1rem;
}

.service-detail-content ul {
  margin: 1.5rem 0;
}

.service-detail-content li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  color: var(--slate-grey);
}

.service-detail-content li svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--primary);
  margin-top: 0.125rem;
}

.service-detail-image img {
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
}

@media (max-width: 992px) {
  .service-detail,
  .service-detail:nth-child(even) {
    grid-template-columns: 1fr;
    direction: ltr;
  }
}

/* ========================================
   INDUSTRIES PAGE
======================================== */
.industries-detailed {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.industry-detail-card {
  background-color: var(--white);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--light-grey);
  transition: var(--transition);
}

.industry-detail-card:hover {
  border-color: var(--primary-light);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.industry-detail-card .icon {
  width: 60px;
  height: 60px;
  background: var(--cream);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.industry-detail-card .icon svg {
  width: 28px;
  height: 28px;
  color: var(--primary);
}

.industry-detail-card .icon img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.industry-detail-card h3 {
  margin-bottom: 0.75rem;
}

.industry-detail-card p {
  font-size: 0.9375rem;
  margin-bottom: 1rem;
}

.industry-detail-card ul {
  margin-bottom: 1.5rem;
}

.industry-detail-card li {
  font-size: 0.875rem;
  color: var(--slate-grey);
  padding-left: 1.25rem;
  position: relative;
  margin-bottom: 0.5rem;
}

.industry-detail-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 6px;
  height: 6px;
  background-color: var(--primary);
  border-radius: 50%;
}

@media (max-width: 992px) {
  .industries-detailed {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .industries-detailed {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   EMPLOYERS PAGE
======================================== */
.employer-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.benefit-card {
  background-color: var(--white);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--light-grey);
}

.benefit-card .number {
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  margin: 0 auto 1.5rem;
}

.benefit-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.process-step {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.step-number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
}

.step-content h3 {
  margin-bottom: 0.5rem;
}

.step-content p {
  margin: 0;
}

@media (max-width: 992px) {
  .employer-benefits {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .employer-benefits {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   CANDIDATES PAGE
======================================== */
.candidate-services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.candidate-service-card {
  background-color: var(--white);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--light-grey);
}

.candidate-service-card .icon {
  width: 56px;
  height: 56px;
  background: var(--cream);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.candidate-service-card .icon svg {
  width: 26px;
  height: 26px;
  color: var(--primary);
}

.candidate-service-card h3 {
  margin-bottom: 0.75rem;
}

@media (max-width: 768px) {
  .candidate-services {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   CONTACT PAGE
======================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
}

.contact-info {
  background-color: var(--charcoal);
  color: var(--white);
  border-radius: 16px;
  padding: 2.5rem;
}

.contact-info h3 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-item .icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: rgba(216, 67, 61, 0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-item .icon svg {
  width: 22px;
  height: 22px;
  color: var(--primary);
}

.contact-item h4 {
  color: var(--white);
  font-size: 0.9375rem;
  margin-bottom: 0.25rem;
}

.contact-item p, .contact-item a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9375rem;
  margin: 0;
}

.contact-item a:hover {
  color: var(--primary);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links a {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--primary);
}

.contact-form-wrapper {
  background-color: var(--white);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}

.contact-form-wrapper h3 {
  margin-bottom: 1.5rem;
}

@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   FORMS
======================================== */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--charcoal);
}

.form-group label .required {
  color: var(--primary);
}

.form-control {
  width: 100%;
  padding: 0.875rem 1rem;
  font-family: var(--font-secondary);
  font-size: 1rem;
  border: 1px solid var(--light-grey);
  border-radius: 8px;
  background-color: var(--off-white);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(216, 67, 61, 0.1);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (max-width: 576px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* File Upload */
.file-upload {
  border: 2px dashed var(--light-grey);
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
}

.file-upload:hover {
  border-color: var(--primary);
  background-color: var(--cream);
}

.file-upload input {
  display: none;
}

.file-upload .icon {
  width: 48px;
  height: 48px;
  background: var(--light-grey);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.file-upload .icon svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
}

.file-upload p {
  margin: 0;
  font-size: 0.9375rem;
}

.file-upload .formats {
  font-size: 0.8125rem;
  color: var(--warm-grey);
  margin-top: 0.5rem;
}

/* ========================================
   FOOTER
======================================== */
.site-footer {
  background-color: var(--charcoal);
  color: var(--white);
  padding-top: 4rem;
  line-height: 2.2;
}

/* Override all footer links to be white */
.site-footer a {
  color: #ffffff !important;
}

.site-footer a:hover {
  color: var(--primary) !important;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  margin: 1.5rem 0;
  max-width: 300px;
}

.footer-heading {
  color: var(--white);
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--primary);
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #ffffff;
  font-size: 0.9375rem;
  transition: var(--transition);
}

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

.footer-contact li {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: #ffffff;
  font-size: 0.9375rem;
}

.footer-contact svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--primary);
  margin-top: 0.125rem;
}

.footer-bottom {
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  margin: 0;
}

.footer-bottom-links {
  display: flex;
  gap: 2rem;
}

.footer-bottom-links a {
  color: #ffffff;
  font-size: 0.875rem;
}

.footer-bottom-links a:hover {
  color: var(--primary);
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ========================================
   WHATSAPP BUTTON
======================================== */
.whatsapp-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  z-index: 999;
  transition: var(--transition);
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
}

.whatsapp-btn svg {
  width: 32px;
  height: 32px;
  fill: var(--white);
}

/* ========================================
   404 PAGE
======================================== */
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.error-content h1 {
  font-size: 8rem;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 1rem;
}

.error-content h2 {
  margin-bottom: 1rem;
}

.error-content p {
  max-width: 400px;
  margin: 0 auto 2rem;
}

/* ========================================
   ANIMATIONS
======================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out forwards;
}

.fade-in {
  animation: fadeIn 0.6s ease-out forwards;
}

/* Staggered animations */
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }

/* ========================================
   WORDPRESS SPECIFIC
======================================== */
.wp-block-image img {
  max-width: 100%;
  height: auto;
}

.alignleft {
  float: left;
  margin-right: 1.5rem;
  margin-bottom: 1rem;
}

.alignright {
  float: right;
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

/* WordPress Navigation */
.nav-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 3rem;
}

.nav-links a {
  padding: 0.75rem 1.5rem;
  background-color: var(--light-grey);
  border-radius: 8px;
  font-weight: 500;
}

.nav-links a:hover {
  background-color: var(--primary);
  color: var(--white);
}

/* Comments */
.comments-area {
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid var(--light-grey);
}

.comment-list {
  margin-bottom: 2rem;
}

.comment {
  padding: 1.5rem;
  background-color: var(--light-grey);
  border-radius: 12px;
  margin-bottom: 1rem;
}

.comment-author {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.comment-meta {
  font-size: 0.875rem;
  color: var(--warm-grey);
  margin-bottom: 1rem;
}

/* ========================================
   BLOG LAYOUT WITH SIDEBAR
======================================== */
.blog-layout {
  display: grid;
  gap: 3rem;
  align-items: start;
}

.blog-layout.no-sidebar {
  grid-template-columns: 1fr;
}

.blog-layout.no-sidebar .posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.blog-layout.has-sidebar {
  grid-template-columns: 1fr 320px;
}

.blog-layout.has-sidebar .posts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.blog-layout.has-sidebar.sidebar-left {
  grid-template-columns: 320px 1fr;
}

.blog-content {
  min-width: 0;
}

/* Post Cards */
.post-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.post-card .post-thumbnail img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.post-card-content {
  padding: 1.5rem;
}

.post-card .post-meta {
  font-size: 0.875rem;
  color: var(--warm-grey);
  margin-bottom: 0.75rem;
}

.post-card-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.post-card-title a {
  color: var(--charcoal);
  text-decoration: none;
}

.post-card-title a:hover {
  color: var(--primary);
}

.post-excerpt {
  color: var(--warm-grey);
  font-size: 0.9375rem;
  margin-bottom: 1rem;
}

.blog-sidebar {
  position: sticky;
  top: 2rem;
  height: fit-content;
}

.blog-sidebar .sidebar {
  background: transparent;
  padding: 0;
}

.blog-sidebar .widget {
  background: var(--white);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--light-grey);
}

.blog-sidebar .widget-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--primary);
}

.blog-sidebar .sidebar-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.blog-sidebar .sidebar-contact li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.blog-sidebar .sidebar-contact li:last-child {
  margin-bottom: 0;
}

.blog-sidebar .sidebar-contact a {
  color: var(--charcoal);
  text-decoration: none;
}

.blog-sidebar .sidebar-contact a:hover {
  color: var(--primary);
}

.blog-sidebar .sidebar-contact svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
  flex-shrink: 0;
}

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

.blog-sidebar .sidebar-links li {
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--light-grey);
}

.blog-sidebar .sidebar-links li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.blog-sidebar .sidebar-links a {
  color: var(--charcoal);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.2s ease;
}

.blog-sidebar .sidebar-links a:hover {
  color: var(--primary);
}

.blog-sidebar .sidebar-links a::before {
  content: '→';
  color: var(--primary);
  font-size: 0.875rem;
}

/* Recent Posts Widget */
.blog-sidebar .widget_recent_entries ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.blog-sidebar .widget_recent_entries li {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--light-grey);
}

.blog-sidebar .widget_recent_entries li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.blog-sidebar .widget_recent_entries a {
  color: var(--charcoal);
  text-decoration: none;
  font-weight: 500;
}

.blog-sidebar .widget_recent_entries a:hover {
  color: var(--primary);
}

/* Categories Widget */
.blog-sidebar .widget_categories ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.blog-sidebar .widget_categories li {
  margin-bottom: 0.5rem;
}

.blog-sidebar .widget_categories a {
  color: var(--charcoal);
  text-decoration: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.blog-sidebar .widget_categories a:hover {
  color: var(--primary);
}

/* Search Widget */
.blog-sidebar .widget_search .search-form {
  display: flex;
  gap: 0.5rem;
}

.blog-sidebar .widget_search .search-field {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid var(--light-grey);
  border-radius: 8px;
  font-size: 0.9375rem;
}

.blog-sidebar .widget_search .search-submit {
  padding: 0.75rem 1.25rem;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.blog-sidebar .widget_search .search-submit:hover {
  background: var(--primary-dark);
}

/* Responsive Blog Layout */
@media (max-width: 991px) {
  .blog-layout.has-sidebar,
  .blog-layout.has-sidebar.sidebar-left {
    grid-template-columns: 1fr;
  }
  
  .blog-layout.has-sidebar .posts-grid,
  .blog-layout.no-sidebar .posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .blog-sidebar {
    position: static;
    margin-top: 2rem;
  }
  
  .blog-layout.has-sidebar.sidebar-left .blog-sidebar {
    order: 2;
  }
}

@media (max-width: 767px) {
  .blog-layout.has-sidebar .posts-grid,
  .blog-layout.no-sidebar .posts-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   FULL WIDTH PAGE TEMPLATE
======================================== */
.full-width-page {
  width: 100%;
}

.full-width-page .entry-content {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.full-width-page .entry-content > * {
  max-width: none;
}

/* WordPress block editor full-width alignment support */
.full-width-page .entry-content .alignfull {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(-50vw + 50%);
}

.full-width-page .entry-content .alignwide {
  width: 100%;
  max-width: 100%;
}
