/* =============================================
   UNIFIED GVOGS WEBSITE STYLES
   Version: 2.0
   Description: Complete styling system for all pages
   ============================================= */

/* =============================================
   1. CSS VARIABLES & RESET
   ============================================= */
:root {
  /* Brand Colors */
  --primary-color: #2563eb;
  --primary-dark: #1e40af;
  --primary-light: #60a5fa;
  --secondary-color: #10b981;
  --accent-color: #f59e0b;
  
  /* Neutral Colors */
  --text-primary: #1f2937;
  --text-secondary: #6b7280;
  --text-light: #9ca3af;
  --bg-white: #ffffff;
  --bg-gray: #f9fafb;
  --bg-dark: #111827;
  
  /* Spacing */
  --container-max: 1200px;
  --container-padding: 16px;
  --section-padding: 80px;
  --section-padding-mobile: 40px;
  
  /* Typography */
  --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Inter', var(--font-primary);
  
  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);
  
  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 500ms ease;
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

/* =============================================
   2. CONTAINER SYSTEM
   ============================================= */
.container,
.gv-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
  width: 100%;
  box-sizing: border-box;
}

.container-fluid {
  width: 100%;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
  box-sizing: border-box;
}

.container-narrow {
  max-width: 800px;
  margin: 0 auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
  box-sizing: border-box;
}

/* Ensure all containers have proper box model */
* .container,
* .gv-container,
* .container-fluid,
* .container-narrow {
  box-sizing: border-box;
}

/* =============================================
   3. HEADER & NAVIGATION
   ============================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-white);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem var(--container-padding);
  max-width: var(--container-max);
  margin: 0 auto;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 0.75rem;
  transition: transform var(--transition-fast);
}

.logo:hover {
  transform: translateY(-2px);
}

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

.header-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.logo span {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

/* Navigation Menu */
.main-nav {
  display: flex;
  align-items: center;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 0.5rem;
  align-items: center;
}

.nav-link {
  display: flex;
  align-items: center;
  padding: 0.5rem 1rem;
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  border-radius: 8px;
  transition: all var(--transition-fast);
  position: relative;
}

.nav-link:hover {
  color: var(--primary-color);
  background: rgba(37, 99, 235, 0.1);
}

/* Active Page Indicator */
.nav-link.active,
.nav-link[aria-current="page"] {
  color: var(--primary-color);
  background: rgba(37, 99, 235, 0.1);
  font-weight: 600;
}

.nav-link.active::after,
.nav-link[aria-current="page"]::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 1rem;
  right: 1rem;
  height: 3px;
  background: var(--primary-color);
  border-radius: 3px 3px 0 0;
}

/* Page-specific nav highlighting */
body.home-page .nav-link[href="/"],
body.about-page .nav-link[href="/about.html"],
body.services-page .nav-link[href="/services.html"],
body.jobs-page .nav-link[href="/jobs.html"],
body.media-page .nav-link[href="/media.html"],
body.blog-page .nav-link[href="/blog.html"],
body.contact-page .nav-link[href="/contact.html"] {
  color: var(--primary-color);
  background: rgba(37, 99, 235, 0.1);
  font-weight: 600;
  position: relative;
}

body.home-page .nav-link[href="/"]::after,
body.about-page .nav-link[href="/about.html"]::after,
body.services-page .nav-link[href="/services.html"]::after,
body.jobs-page .nav-link[href="/jobs.html"]::after,
body.media-page .nav-link[href="/media.html"]::after,
body.blog-page .nav-link[href="/blog.html"]::after,
body.contact-page .nav-link[href="/contact.html"]::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 1rem;
  right: 1rem;
  height: 3px;
  background: var(--primary-color);
  border-radius: 3px 3px 0 0;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.mobile-menu-toggle span,
.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  margin: 3px 0;
  transition: all var(--transition-fast);
  border-radius: 2px;
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* =============================================
   4. HERO SECTIONS (50% REDUCED HEIGHT)
   ============================================= */
/* UNIFIED HERO SECTION FOR ALL PAGES */
.page-header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 2.5rem 0;
    position: relative;
    overflow: hidden;
}

/* Aurora effect for all hero sections */
.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(64, 224, 208, 0.15) 25%, 
        rgba(255, 105, 180, 0.15) 50%, 
        rgba(255, 215, 0, 0.15) 75%, 
        transparent 100%);
    animation: auroraWave 12s ease-in-out infinite;
    filter: blur(2px);
    pointer-events: none;
}
/* Page-specific hero customizations */
.home-page .page-header {
    padding: 3rem 0; /* Slightly larger for homepage */
}

.jobs-page .page-header,
.services-page .page-header,
.media-page .page-header,
.blog-page .page-header,
.contact-page .page-header {
    padding: 2.5rem 0; /* Standard height for inner pages */
}

/* Hero content styling */
.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.hero-content p {
    font-size: 1.125rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto 1.5rem;
}
/* Remove redundant .blog-hero class - delete it entirely */
/* =============================================
   5. MAIN CONTENT SECTIONS
   ============================================= */
section {
  padding: var(--section-padding) 0;
  position: relative;
  width: 100%;
  box-sizing: border-box;
}

section:nth-child(even) {
  background: var(--bg-gray);
}

/* Ensure all section containers are properly boxed */
section > .container,
section > .gv-container {
  width: 100%;
  box-sizing: border-box;
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
  padding: 0 1rem;
  box-sizing: border-box;
}

.section-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

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

/* Content Boxes for all sections */
.content-box {
  background: var(--bg-white);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--shadow-md);
  margin-bottom: 2rem;
  box-sizing: border-box;
}

.section-content {
  padding: 2rem;
  background: var(--bg-white);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  box-sizing: border-box;
}

/* =============================================
   6. CARDS & GRIDS
   ============================================= */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* Universal Card Styles */
.card {
  background: var(--bg-white);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  overflow: hidden;
}

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

.card-header {
  margin-bottom: 1rem;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.card-description {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Service Cards */
.service-card {
  background: var(--bg-white);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

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

.service-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

/* Job Cards - Horizontal Layout */
.job-card {
  background: var(--bg-white);
  border-radius: 12px;
  padding: 1.25rem;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  border-left: 4px solid var(--primary-color);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

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

.job-card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.job-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  flex-wrap: wrap;
  gap: 1rem;
}

.job-info {
  flex: 1;
}

.job-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
  display: inline-block;
  margin-bottom: 0.25rem;
}

.job-title:hover {
  color: var(--primary-color);
}

.job-company {
  font-size: 0.875rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.job-details {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.job-detail-item {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.job-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.job-tag {
  padding: 0.25rem 0.75rem;
  background: var(--bg-gray);
  color: var(--text-secondary);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
  white-space: nowrap;
}

.job-tag.featured {
  background: var(--accent-color);
  color: var(--bg-white);
}

.job-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.job-apply-btn {
  padding: 0.5rem 1rem;
  background: var(--primary-color);
  color: var(--bg-white);
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.job-apply-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

/* Blog Cards - Improved Layout */
.blog-card,
.article-card {
  background: var(--bg-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.blog-image {
  width: 100%;
  height: 180px; /* Reduced height */
  object-fit: cover;
  background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
}

.blog-content {
  padding: 1.25rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-light);
  font-size: 0.75rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.blog-category {
  padding: 0.2rem 0.6rem;
  background: var(--primary-color);
  color: var(--bg-white);
  border-radius: 15px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
}

.blog-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-excerpt {
  color: var(--text-secondary);
  line-height: 1.5;
  flex-grow: 1;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.75rem;
  border-top: 1px solid var(--bg-gray);
}

.read-more-link {
  color: var(--primary-color);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  transition: gap var(--transition-fast);
}

.read-more-link:hover {
  gap: 0.5rem;
}

/* Media/Gallery Cards - Reduced Size */
.media-item,
.gallery-item {
  background: var(--bg-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  position: relative;
  cursor: pointer;
}

.media-item:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-xl);
}

.media-image {
  width: 100%;
  height: 180px; /* Reduced from 250px */
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.media-item:hover .media-image {
  transform: scale(1.05); /* Reduced zoom effect */
}

.media-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  color: var(--bg-white);
  padding: 1rem;
  transform: translateY(100%);
  transition: transform var(--transition-base);
}

.media-item:hover .media-overlay {
  transform: translateY(0);
}

.media-title {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.media-description {
  font-size: 0.75rem;
  opacity: 0.9;
}

/* =============================================
   7. FORMS & INPUTS
   ============================================= */
.form-section {
  background: var(--bg-white);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

label {
  display: block;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="number"],
textarea,
select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 1rem;
  transition: all var(--transition-fast);
  background: var(--bg-white);
  color: var(--text-primary);
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

textarea {
  resize: vertical;
  min-height: 120px;
  font-family: inherit;
}

/* Search Forms */
.search-form {
  background: var(--bg-white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  margin: -3rem auto 3rem;
  position: relative;
  z-index: 10;
  max-width: 900px;
}

.search-bar {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.search-input-group {
  display: flex;
  flex: 1;
  gap: 1rem;
}

.search-input-group input {
  flex: 1;
}

.filters-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.filters-row select {
  min-width: 150px;
}

/* =============================================
   8. BUTTONS & LINKS
   ============================================= */
.btn,
button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all var(--transition-fast);
  cursor: pointer;
  border: none;
  line-height: 1;
}

.btn-primary,
.btn-submit,
.submit-button {
  background: var(--primary-color);
  color: var(--bg-white);
}

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

.btn-secondary {
  background: var(--secondary-color);
  color: var(--bg-white);
}

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

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

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

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

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

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

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

/* Link Styles */
a {
  color: var(--primary-color);
  transition: color var(--transition-fast);
}

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

/* =============================================
   9. SIDEBAR & WIDGETS
   ============================================= */
.blog-main-layout {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 3rem;
  margin-top: 2rem;
}

.blog-sidebar {
  position: sticky;
  top: 100px;
  height: fit-content;
}

.sidebar-widget {
  background: var(--bg-white);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-md);
}

.sidebar-widget h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--bg-gray);
}

/* Newsletter Widget */
.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.newsletter-form input {
  padding: 0.75rem;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
}

.newsletter-form button {
  background: var(--primary-color);
  color: var(--bg-white);
  padding: 0.75rem;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.newsletter-form button:hover {
  background: var(--primary-dark);
}

/* Categories Widget */
.categories-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.category-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--bg-gray);
  color: var(--text-secondary);
  border-radius: 20px;
  text-decoration: none;
  font-size: 0.875rem;
  transition: all var(--transition-fast);
}

.category-pill:hover {
  background: var(--primary-color);
  color: var(--bg-white);
}

.category-pill .count {
  background: rgba(0,0,0,0.1);
  padding: 0.125rem 0.5rem;
  border-radius: 10px;
  font-size: 0.75rem;
}

/* Tags Cloud */
.tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag-item {
  padding: 0.375rem 0.875rem;
  background: var(--bg-gray);
  color: var(--text-secondary);
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.875rem;
  transition: all var(--transition-fast);
}

.tag-item:hover {
  background: var(--primary-color);
  color: var(--bg-white);
}

/* =============================================
   10. FOOTER
   ============================================= */
.footer {
  background: var(--bg-dark);
  color: var(--text-light);
  padding: 3rem 0 1rem;
  margin-top: auto;
}

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

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-logo img {
  height: 32px;
  width: auto;
}

.footer-logo span {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--bg-white);
}

.company-tagline {
  color: var(--text-light);
  line-height: 1.6;
}

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.5rem 0;
}

.footer-contact a {
  color: var(--primary-light);
  text-decoration: none;
}

.footer-contact a:hover {
  color: var(--bg-white);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
}

.footer-links h4 {
  color: var(--bg-white);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin: 0.5rem 0;
}

.footer-links a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color var(--transition-fast);
}

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

/* Social Links */
.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  color: var(--bg-white);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.social-links a:hover {
  background: var(--primary-color);
  transform: translateY(-2px);
}

.footer-bottom {
  text-align: center;
  padding-top: 1rem;
  color: var(--text-light);
  font-size: 0.875rem;
}

/* =============================================
   11. LOADING & STATES
   ============================================= */
.loading-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  color: var(--text-secondary);
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--bg-gray);
  border-top-color: var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 1rem;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.error-section {
  text-align: center;
  padding: 4rem 2rem;
}

.error-section i {
  font-size: 3rem;
  color: #ef4444;
  margin-bottom: 1rem;
}

/* Status Messages */
.status-message {
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  text-align: center;
}

.status-message.success {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #10b981;
}

.status-message.error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #ef4444;
}

.status-message.loading {
  background: var(--bg-gray);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

/* =============================================
   12. UTILITY CLASSES
   ============================================= */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.pt-0 { padding-top: 0; }
.pt-1 { padding-top: 0.5rem; }
.pt-2 { padding-top: 1rem; }
.pt-3 { padding-top: 1.5rem; }
.pt-4 { padding-top: 2rem; }
.pt-5 { padding-top: 3rem; }

.pb-0 { padding-bottom: 0; }
.pb-1 { padding-bottom: 0.5rem; }
.pb-2 { padding-bottom: 1rem; }
.pb-3 { padding-bottom: 1.5rem; }
.pb-4 { padding-bottom: 2rem; }
.pb-5 { padding-bottom: 3rem; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* =============================================
   13. PAGE-SPECIFIC STYLES
   ============================================= */

/* Blog Page - Improved Layout */
.blogs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.blog-filters {
  background: var(--bg-gray);
  padding: 1.5rem 0;
  margin-bottom: 2rem;
  border-radius: 12px;
}

.filter-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.filter-group {
  flex: 1;
  min-width: 180px;
}

.filter-group label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 0.25rem;
}

.filter-group select,
.filter-group input {
  width: 100%;
  padding: 0.625rem;
  font-size: 0.875rem;
}

.topic-tags {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.topic-tag {
  padding: 0.375rem 1rem;
  background: rgba(255,255,255,0.2);
  color: var(--bg-white);
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 20px;
  font-weight: 500;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.topic-tag:hover,
.topic-tag.active {
  background: var(--bg-white);
  color: var(--primary-color);
  border-color: var(--bg-white);
}

.blog-main-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

@media (min-width: 1024px) {
  .blog-main-layout {
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
  }
}

.load-more-container {
  text-align: center;
  padding: 2rem 0;
}

.load-more-container p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
  font-size: 0.875rem;
}

/* Jobs Page */
.jobs-grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.job-search {
  background: var(--bg-gray);
  padding: 2rem 0;
  margin-top: -2rem;
  position: relative;
  z-index: 5;
}

.results-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.sort-options {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Services Page */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.services-category {
  margin-bottom: 4rem;
}

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

.category-header h2 {
  font-size: 2rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.benefit-card {
  text-align: center;
  padding: 2rem 1rem;
  background: var(--bg-white);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
}

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

.benefit-card i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.benefit-card h3 {
  font-size: 1.25rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

/* Media Gallery Page */
.media-gallery {
  padding: 3rem 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.gallery-grid.masonry-view {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.gallery-grid.masonry-view .media-item {
  flex: 1 1 calc(33.333% - 1rem);
  min-width: 250px;
}

.media-filters {
  background: var(--bg-gray);
  padding: 2rem 0;
  position: sticky;
  top: 60px;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.filter-options {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.filter-btn {
  padding: 0.5rem 1.25rem;
  background: var(--bg-white);
  color: var(--text-secondary);
  border: 2px solid transparent;
  border-radius: 25px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

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

.view-options {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.view-btn {
  padding: 0.5rem 1rem;
  background: var(--bg-white);
  color: var(--text-secondary);
  border: 1px solid #e5e7eb;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.view-btn:first-child {
  border-radius: 8px 0 0 8px;
}

.view-btn:last-child {
  border-radius: 0 8px 8px 0;
}

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

/* Contact Page */
.contact-section {
  padding: 4rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
}

.contact-form-wrapper {
  background: var(--bg-white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

.info-item i {
  font-size: 1.5rem;
  color: var(--primary-color);
  width: 30px;
  text-align: center;
  margin-top: 0.25rem;
}

.info-content h3 {
  font-size: 1.125rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.info-content p,
.info-content address {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* CTA Sections - Fixed Visibility Issues */
.services-cta,
.media-cta,
.blog-bottom-cta {
  background: linear-gradient(135deg, #1f2937, #374151); /* Changed from strong blue to dark gray */
  color: var(--bg-white);
  padding: 3rem 0;
  text-align: center;
  position: relative;
}

.services-cta::before,
.media-cta::before,
.blog-bottom-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.03" d="M0,96L48,112C96,128,192,160,288,165.3C384,171,480,149,576,154.7C672,160,768,192,864,197.3C960,203,1056,181,1152,165.3C1248,149,1344,139,1392,133.3L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat center;
  background-size: cover;
  pointer-events: none;
}

.services-cta h2,
.media-cta h2,
.blog-bottom-cta h2 {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
  color: var(--bg-white);
  position: relative;
  z-index: 1;
}

.services-cta p,
.media-cta p,
.blog-bottom-cta p {
  color: rgba(255,255,255,0.95);
  font-size: 1rem;
  position: relative;
  z-index: 1;
}

.cta-buttons,
.cta-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* Enhanced button visibility */
.cta-buttons .btn,
.cta-actions .btn {
  font-weight: 600;
  box-shadow: var(--shadow-md);
}

.btn-white {
  background: var(--bg-white);
  color: #1f2937; /* Dark text for contrast */
  border: 2px solid var(--bg-white);
}

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

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

.btn-outline-white:hover {
  background: var(--bg-white);
  color: #1f2937;
}

.cta-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem auto;
  max-width: 800px;
}

.cta-card {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  padding: 1.5rem;
  border-radius: 12px;
  border: 2px solid rgba(255,255,255,0.3);
  transition: all var(--transition-base);
}

.cta-card:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-4px);
}

.cta-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--bg-white);
}

.cta-card p {
  margin-bottom: 1rem;
  color: rgba(255,255,255,0.95);
  font-size: 0.875rem;
}

.cta-card .btn {
  background: var(--bg-white);
  color: #1f2937;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  width: 100%;
}

.cta-card .btn:hover {
  background: var(--primary-color);
  color: var(--bg-white);
}

/* =============================================
   14. RESPONSIVE DESIGN - MOBILE FIRST APPROACH
   ============================================= */

/* Mobile Base (default styles apply to mobile) */

/* Tablet and up (768px+) */
@media (min-width: 768px) {
  .jobs-grid {
    gap: 1.25rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
  
  .blogs-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
  
  .services-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
}

/* Desktop (1024px+) */
@media (min-width: 1024px) {
  .blog-main-layout {
    grid-template-columns: 2fr 1fr;
  }
  
  .blog-sidebar {
    position: sticky;
    top: 80px;
    display: block;
  }
  
  .contact-grid {
    grid-template-columns: 2fr 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr 2fr;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
}

/* Mobile Specific Styles (max-width: 767px) */
@media (max-width: 767px) {
  /* Mobile Navigation */
  .nav-menu {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--bg-white);
    flex-direction: column;
    padding: 1rem;
    box-shadow: var(--shadow-lg);
    max-height: calc(100vh - 60px);
    overflow-y: auto;
    z-index: 999;
  }
  
  .nav-menu.active {
    display: flex;
  }
  
  .nav-link {
    padding: 0.75rem 1rem;
    border-radius: 6px;
    width: 100%;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  /* Mobile Hero */
  .page-header,
  .hero-section,
  .blog-hero {
    padding: 1.25rem 0;
    min-height: 150px;
  }
  
  .hero-content h1 {
    font-size: 1.5rem;
  }
  
  .hero-content p {
    font-size: 0.875rem;
  }
  
  .hero-stats {
    gap: 0.75rem;
  }
  
  .stat-number {
    font-size: 1.125rem;
  }
  
  .stat-label {
    font-size: 0.7rem;
  }
  
  /* Mobile sections */
  section {
    padding: 2rem 0;
  }
  
  .section-header h2 {
    font-size: 1.5rem;
  }
  
  /* Mobile Job Cards */
  .job-card {
    flex-direction: column;
    padding: 1rem;
  }
  
  .job-header {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .job-actions {
    width: 100%;
    margin-top: 1rem;
  }
  
  .job-apply-btn {
    width: 100%;
    text-align: center;
    padding: 0.75rem;
  }
  
  /* Mobile Blog */
  .blogs-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  
  .blog-main-layout {
    grid-template-columns: 1fr;
  }
  
  .blog-sidebar {
    position: static;
    margin-top: 2rem;
  }
  
  .sidebar-widget {
    margin-bottom: 1.5rem;
  }
  
  .filter-container {
    flex-direction: column;
  }
  
  .filter-group {
    width: 100%;
  }
  
  /* Mobile Media Gallery */
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .media-image {
    height: 200px;
  }
  
  .filter-options {
    overflow-x: auto;
    display: flex;
    gap: 0.5rem;
    padding-bottom: 0.5rem;
  }
  
  .filter-btn {
    white-space: nowrap;
    flex-shrink: 0;
  }
  
  /* Mobile Forms */
  .search-form {
    padding: 1.25rem;
    margin: -1.5rem 1rem 1.5rem;
  }
  
  .search-input-group {
    flex-direction: column;
  }
  
  .filters-row {
    flex-direction: column;
  }
  
  .filters-row select {
    width: 100%;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-info {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--bg-gray);
    border-radius: 12px;
  }
  
  /* Mobile Services */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  /* Mobile CTA */
  .services-cta,
  .media-cta,
  .blog-bottom-cta {
    padding: 2rem 0;
  }
  
  .services-cta h2,
  .media-cta h2,
  .blog-bottom-cta h2 {
    font-size: 1.5rem;
  }
  
  .cta-buttons,
  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }
  
  .cta-buttons .btn,
  .cta-actions .btn {
    width: 100%;
    padding: 0.875rem;
  }
  
  .cta-cards {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  /* Mobile Footer */
  .footer {
    padding: 2rem 0 1rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-links {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .social-links {
    justify-content: center;
    margin-top: 1.5rem;
  }
  
  /* Mobile Tables - Make them scrollable */
  table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
  
  /* Mobile Buttons */
  .btn {
    padding: 0.875rem 1.25rem;
  }
  
  .btn-lg {
    padding: 1rem 1.5rem;
  }
  
  /* Mobile Utility */
  .container,
  .gv-container {
    padding: 0 12px;
  }
  
  .load-more-container {
    padding: 1.5rem 0;
  }
  
  /* Hide desktop-only elements */
  .desktop-only {
    display: none;
  }
  
  /* Show mobile-only elements */
  .mobile-only {
    display: block;
  }
}

/* Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
  :root {
    --container-padding: 12px;
  }
  
  .hero-content h1 {
    font-size: 1.25rem;
  }
  
  .hero-content p {
    font-size: 0.8rem;
  }
  
  .section-header h2 {
    font-size: 1.25rem;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
  }
  
  .topic-tags {
    gap: 0.375rem;
  }
  
  .topic-tag {
    padding: 0.3rem 0.75rem;
    font-size: 0.75rem;
  }
  
  .blog-title {
    font-size: 1rem;
  }
  
  .job-title {
    font-size: 1rem;
  }
  
  .media-stats .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .stat-item {
    padding: 1rem 0.5rem;
  }
  
  /* Extra small buttons on very small screens */
  .btn-sm {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
  }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
  /* Increase tap targets for touch */
  .nav-link,
  .btn,
  .filter-btn,
  .topic-tag,
  .job-tag,
  .category-pill {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  
  /* Remove hover effects on touch devices */
  .card:hover,
  .job-card:hover,
  .blog-card:hover,
  .media-item:hover {
    transform: none;
  }
  
  /* Make dropdowns easier to use */
  select {
    min-height: 44px;
    font-size: 16px; /* Prevents zoom on iOS */
  }
  
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  textarea {
    font-size: 16px; /* Prevents zoom on iOS */
  }
}

/* =============================================
   15. PRINT STYLES
   ============================================= */
@media print {
  .site-header,
  .footer,
  .mobile-menu-toggle,
  .search-form,
  .filters-row,
  .load-more-container,
  .cta-buttons,
  .social-links {
    display: none !important;
  }
  
  body {
    color: #000;
    background: #fff;
  }
  
  .container {
    max-width: 100%;
  }
  
  a {
    color: #000;
    text-decoration: underline;
  }
}
/* =============================================
   ADDITIONAL CSS FIXES - Add to main.css
   ============================================= */

/* Fix container conflicts */
.container,
.gv-container,
.container-fluid,
.container-narrow {
  box-sizing: border-box !important;
  width: 100%;
}

/* Ensure proper inheritance without breaking specificity */
.container *,
.gv-container *,
.container-fluid *,
.container-narrow * {
  box-sizing: inherit;
}

/* Missing modal styles */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1040;
  display: none;
}

.modal-backdrop.show {
  display: block;
}

.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 600px;
  max-height: 90vh;
  background: var(--bg-white);
  border-radius: 12px;
  box-shadow: var(--shadow-xl);
  z-index: 1050;
  display: none;
  overflow: hidden;
}

.modal.show {
  display: flex;
  flex-direction: column;
}

.modal-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--bg-gray);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-body {
  padding: 1.5rem;
  overflow-y: auto;
  flex-grow: 1;
}

.modal-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--bg-gray);
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
}

/* Body state when modal is open */
body.modal-open {
  overflow: hidden;
}

/* Missing preview styles */
.blog-preview,
.job-preview {
  padding: 1rem;
  border-left: 3px solid var(--primary-color);
  margin-bottom: 1rem;
  background: var(--bg-gray);
  border-radius: 8px;
}

.blog-preview h4,
.job-preview h4 {
  margin: 0 0 0.5rem 0;
  color: var(--text-primary);
  font-size: 1.125rem;
}

.blog-preview p,
.job-preview p {
  margin: 0 0 0.5rem 0;
  color: var(--text-secondary);
}

.read-more-link,
.view-position-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

/* Missing no-content styles */
.no-items,
.no-content {
  text-align: center;
  padding: 3rem 2rem;
  color: var(--text-secondary);
}

.no-content i {
  font-size: 3rem;
  color: var(--text-light);
  margin-bottom: 1rem;
  display: block;
}

.no-content h3 {
  font-size: 1.25rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

/* Error message styles */
.error-message {
  text-align: center;
  padding: 2rem;
  color: #ef4444;
  background: #fee2e2;
  border-radius: 8px;
  margin: 1rem 0;
}

.error-message i {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  display: block;
}

/* Network notification styles */
.network-notification {
  position: fixed;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  padding: 1rem 2rem;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  z-index: 2000;
  font-weight: 500;
  animation: slideDown 0.3s ease;
}

.network-notification.online {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #10b981;
}

.network-notification.offline {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #ef4444;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

/* Rich content styles for dynamically generated content */
.rich-content {
  line-height: 1.6;
  color: var(--text-primary);
}

.rich-content p {
  margin-bottom: 1rem;
}

.rich-content h1,
.rich-content h2,
.rich-content h3,
.rich-content h4,
.rich-content h5,
.rich-content h6 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
  line-height: 1.3;
}

.rich-content ul,
.rich-content ol {
  margin-bottom: 1rem;
  padding-left: 2rem;
}

.rich-content li {
  margin-bottom: 0.5rem;
}

.rich-content blockquote {
  border-left: 4px solid var(--primary-color);
  padding-left: 1rem;
  margin: 1rem 0;
  color: var(--text-secondary);
  font-style: italic;
}

.rich-content code {
  background: var(--bg-gray);
  padding: 0.125rem 0.25rem;
  border-radius: 4px;
  font-family: monospace;
  font-size: 0.875em;
}

/* Job detail specific styles */
.job-detail-content {
  max-width: 100%;
}

.job-meta-info {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--bg-gray);
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.meta-item i {
  color: var(--primary-color);
  width: 20px;
  text-align: center;
}

/* Blog detail specific styles */
.blog-detail-content {
  max-width: 100%;
}

.blog-detail-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

.blog-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--bg-gray);
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.blog-detail-meta span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.blog-tags {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--bg-gray);
}

.blog-tags strong {
  margin-right: 0.5rem;
}

.tag-item {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--bg-gray);
  color: var(--text-secondary);
  border-radius: 15px;
  font-size: 0.75rem;
  margin: 0.25rem;
}

/* Lightbox specific styles */
.media-lightbox-modal .modal {
  max-width: 90%;
  width: auto;
}

.lightbox-content {
  display: flex;
  gap: 2rem;
}

.lightbox-image {
  flex: 1;
  min-width: 0;
}

.lightbox-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.lightbox-info {
  flex: 0 0 300px;
  max-width: 300px;
}

.lightbox-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.lightbox-description {
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.lightbox-meta {
  margin-bottom: 1.5rem;
}

.lightbox-meta-item {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--bg-gray);
}

.lightbox-meta-label {
  font-weight: 500;
  color: var(--text-secondary);
}

.lightbox-meta-value {
  color: var(--text-primary);
}

.lightbox-tags {
  margin-top: 1rem;
}

.tag-chip {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  background: var(--primary-color);
  color: var(--bg-white);
  border-radius: 12px;
  font-size: 0.75rem;
  margin: 0.25rem;
}

/* Skip link for accessibility */
.skip-to-main {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary-color);
  color: var(--bg-white);
  padding: 0.5rem 1rem;
  text-decoration: none;
  z-index: 100;
  border-radius: 0 0 8px 0;
}

.skip-to-main:focus {
  top: 0;
}

/* Header scroll states */
.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.site-header.hidden {
  transform: translateY(-100%);
}

/* Mobile menu open state */
body.menu-open {
  overflow: hidden;
}

/* Form validation states */
form.was-validated input:invalid,
form.was-validated textarea:invalid,
form.was-validated select:invalid {
  border-color: #ef4444;
}

form.was-validated input:valid,
form.was-validated textarea:valid,
form.was-validated select:valid {
  border-color: #10b981;
}

/* Lazy loading placeholder */
img.lazy {
  background: var(--bg-gray);
  min-height: 200px;
}

/* Print class */
body.printing .site-header,
body.printing .footer,
body.printing .mobile-menu-toggle,
body.printing .btn,
body.printing .social-links {
  display: none !important;
}

/* Responsive modal adjustments */
@media (max-width: 768px) {
  .modal {
    width: 95%;
    max-height: 95vh;
  }
  
  .lightbox-content {
    flex-direction: column;
  }
  
  .lightbox-info {
    flex: 1;
    max-width: 100%;
  }
}
/* ==================== JOBS PAGE BENEFIT ITEMS - ALTERNATING LAYOUT ==================== */

/* Benefits Container - Full Width */
.jobs-page .apply-benefits {
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem !important;
    margin-top: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Benefit Items - Alternating Left/Right */
.jobs-page .benefit-item {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    padding: 1rem 1.5rem !important;
    background: white;
    border-radius: 8px;
    gap: 1rem !important;
    text-align: left;
    position: relative;
    width: 80%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* Odd items align left */
.jobs-page .benefit-item:nth-child(odd) {
    margin-right: auto !important;
    margin-left: 0 !important;
    border-left: 4px solid #3b82f6;
}

/* Even items align right */
.jobs-page .benefit-item:nth-child(even) {
    margin-left: auto !important;
    margin-right: 0 !important;
    border-right: 4px solid #10b981;
    flex-direction: row-reverse !important;
}

/* Hover effects */
.jobs-page .benefit-item:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.jobs-page .benefit-item:nth-child(odd):hover {
    transform: translateX(10px) scale(1.02);
}

.jobs-page .benefit-item:nth-child(even):hover {
    transform: translateX(-10px) scale(1.02);
}

/* Benefit Icon Styling */
.jobs-page .benefit-icon {
    width: 45px !important;
    height: 45px !important;
    border-radius: 10px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Different colors for odd/even icons */
.jobs-page .benefit-item:nth-child(odd) .benefit-icon {
    background: linear-gradient(135deg, #3b82f6, #2563eb) !important;
}

.jobs-page .benefit-item:nth-child(even) .benefit-icon {
    background: linear-gradient(135deg, #10b981, #059669) !important;
}

.jobs-page .benefit-icon i {
    color: white !important;
    font-size: 1.25rem !important;
}

/* Benefit Text */
.jobs-page .benefit-item span:last-child {
    flex: 1;
    color: #4b5563 !important;
    font-size: 0.95rem !important;
    line-height: 1.4 !important;
    font-weight: 500 !important;
}

/* Add connecting line between benefits */
.jobs-page .apply-benefits::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #3b82f6, #10b981);
    opacity: 0.2;
    z-index: -1;
}

/* Mobile Responsive */
@media (max-width: 767px) {
    .jobs-page .apply-benefits {
        max-width: 100%;
    }
    
    .jobs-page .benefit-item {
        width: 100% !important;
        margin: 0 !important;
    }
    
    .jobs-page .benefit-item:nth-child(even) {
        flex-direction: row !important;
        border-right: none;
        border-left: 4px solid #10b981;
    }
    
    .jobs-page .benefit-item:hover,
    .jobs-page .benefit-item:nth-child(odd):hover,
    .jobs-page .benefit-item:nth-child(even):hover {
        transform: translateY(-2px) scale(1);
    }
    
    .jobs-page .apply-benefits::before {
        display: none;
    }
}

/* Alternative: Zigzag Pattern with Animation */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.jobs-page .benefit-item:nth-child(odd) {
    animation: slideInLeft 0.5s ease forwards;
}

.jobs-page .benefit-item:nth-child(even) {
    animation: slideInRight 0.5s ease forwards;
}

.jobs-page .benefit-item:nth-child(1) { animation-delay: 0.1s; }
.jobs-page .benefit-item:nth-child(2) { animation-delay: 0.2s; }
.jobs-page .benefit-item:nth-child(3) { animation-delay: 0.3s; }
.jobs-page .benefit-item:nth-child(4) { animation-delay: 0.4s; }


/* ==================== JOB CARDS HORIZONTAL LAYOUT ==================== */
/* Place this CSS in a separate file called job-cards.css or add it at the END of your main.css file */

/* Job Grid - Horizontal Layout */
.jobs-page .jobs-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important; /* 2 cards side by side */
    gap: 1.5rem !important;
    margin-bottom: 2rem;
}

/* Job Card Styling */
.jobs-page .job-card {
    background: white !important;
    border-radius: 12px !important;
    padding: 1.5rem !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07) !important;
    border-left: 4px solid #3b82f6 !important;
    transition: all 0.3s ease !important;
}

.jobs-page .job-card:hover {
    transform: translateX(8px) !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12) !important;
}

/* Tablet - Single Column */
@media (max-width: 968px) {
    .jobs-page .jobs-grid {
        grid-template-columns: 1fr !important; /* Stack on tablets */
    }
}

/* Mobile - Single Column */
@media (max-width: 767px) {
    .jobs-page .jobs-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
}
/* ==================== JOB CARDS - VERTICAL CONTENT LAYOUT ==================== */
/* Add this AFTER the previous job cards CSS */

/* Force vertical content layout inside job cards */
.jobs-page .job-card {
    display: flex !important;
    flex-direction: column !important; /* Stack content vertically */
    gap: 1rem !important;
}

.jobs-page .job-header {
    display: flex !important;
    flex-direction: column !important; /* Title and company stack */
    gap: 0.5rem !important;
}

.jobs-page .job-header h3 {
    margin: 0 !important;
    font-size: 1.25rem !important;
    color: #1f2937 !important;
}

.jobs-page .job-header .company {
    margin: 0 !important;
    color: #6b7280 !important;
    font-size: 0.9rem !important;
}

.jobs-page .job-meta {
    display: flex !important;
    flex-direction: column !important; /* Location and type stack */
    gap: 0.5rem !important;
}

.jobs-page .job-meta span {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    color: #6b7280 !important;
    font-size: 0.875rem !important;
}

.jobs-page .job-description {
    flex-grow: 1 !important;
    color: #4b5563 !important;
    line-height: 1.5 !important;
}

.jobs-page .job-actions {
    display: flex !important;
    gap: 0.75rem !important;
    margin-top: auto !important; /* Push buttons to bottom */
}

.jobs-page .job-actions button {
    flex: 1 !important;
    padding: 0.625rem !important;
}

/* ==================== ACTIVE PAGE INDICATORS ==================== */
/* Add this to your main.css after the navigation section */

/* Active page indicator for navigation */
.nav-link {
    position: relative;
    transition: all 0.3s ease;
}

/* Highlight current page */
body.home-page .nav-link[href="/"],
body.about-page .nav-link[href="/about.html"],
body.services-page .nav-link[href="/services.html"],
body.jobs-page .nav-link[href="/jobs.html"],
body.media-page .nav-link[href="/media.html"],
body.blog-page .nav-link[href="/blog.html"],
body.contact-page .nav-link[href="/contact.html"] {
    background: rgba(59, 130, 246, 0.1);
    color: #2563eb;
    border-radius: 8px;
    font-weight: 600;
}

/* Underline indicator */
body.home-page .nav-link[href="/"]::after,
body.about-page .nav-link[href="/about.html"]::after,
body.services-page .nav-link[href="/services.html"]::after,
body.jobs-page .nav-link[href="/jobs.html"]::after,
body.media-page .nav-link[href="/media.html"]::after,
body.blog-page .nav-link[href="/blog.html"]::after,
body.contact-page .nav-link[href="/contact.html"]::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 3px;
    background: #2563eb;
    border-radius: 3px;
}

/* Circle indicator option (alternative) */
/*
body.jobs-page .nav-link[href="/jobs.html"] {
    background: #2563eb;
    color: white;
    border-radius: 25px;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}
*/

/* Mobile menu active states */
@media (max-width: 767px) {
    body.home-page .nav-link[href="/"],
    body.about-page .nav-link[href="/about.html"],
    body.services-page .nav-link[href="/services.html"],
    body.jobs-page .nav-link[href="/jobs.html"],
    body.media-page .nav-link[href="/media.html"],
    body.blog-page .nav-link[href="/blog.html"],
    body.contact-page .nav-link[href="/contact.html"] {
        background: #2563eb;
        color: white;
        margin: 0.25rem 0;
    }
}
/* Active Page Navigation Indicator */
.nav-link.current-page {
    background: #3b82f6 !important;
    color: white !important;
    border-radius: 8px !important;
    padding: 0.5rem 1rem !important;
    font-weight: 600 !important;
    position: relative !important;
}

.nav-link.current-page::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background: white;
    border-radius: 3px;
}

/* Smooth Transition Effect */
.nav-link {
    transition: all 0.3s ease;
}

.nav-link:hover:not(.current-page) {
    background: rgba(59, 130, 246, 0.1);
    transform: translateY(-2px);
}

/* Mobile Responsive Adjustment */
@media (max-width: 768px) {
    .nav-link.current-page::after {
        width: 100%;
        left: 0;
        transform: none;
    }
}

const FIXED_CSS = `
/* Remove the problematic ::before pseudo-element that was adding duplicate numbers */
.service-description ol li::before,
.rich-content ol li::before {
    content: none !important;
    display: none !important;
}

/* Ensure native list numbering works properly */
.rich-content ul, 
.rich-content ol,
.service-description ul,
.service-description ol,
.blog-content ul,
.blog-content ol {
    margin: 15px 0;
    padding-left: 30px;
    list-style-position: outside;
}

/* Proper list types */
.rich-content ul,
.service-description ul {
    list-style-type: disc !important;
}

.rich-content ol,
.service-description ol {
    list-style-type: decimal !important;
}

/* Ensure list items display properly */
.rich-content li,
.service-description li {
    margin: 8px 0;
    line-height: 1.6;
    display: list-item !important;
    list-style: inherit !important;
}

/* Remove any counter resets that might interfere */
.service-description ol,
.rich-content ol {
    counter-reset: none !important;
}
`;
