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

:root {
  /* Brand Colors */
  --primary-color: #b12a2a;
  --primary-color-hover: #912222;
  --primary-color-light: rgba(177, 42, 42, 0.1);
  --secondary-color: #efb536;
  --secondary-color-hover: #d19a26;
  --secondary-color-light: rgba(239, 181, 54, 0.1);

  /* Dark Theme Colors */
  --bg-dark: #0f1014;
  --bg-darker: #0a0a0c;
  --bg-card: #16181d;
  --bg-card-hover: #1e2027;
  
  /* Text Colors */
  --text-main: #f0f0f0;
  --text-muted: #a0a0a5;
  --text-inverse: #0f1014;

  /* Borders & Shadows */
  --border-color: rgba(255, 255, 255, 0.08);
  --glass-bg: rgba(22, 24, 29, 0.7);
  --glass-border: rgba(255, 255, 255, 0.1);
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 20px rgba(177, 42, 42, 0.3);

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

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

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

ul {
  list-style: none;
}

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

/* =========================================
   Typography Utilities
   ========================================= */
.text-primary { color: var(--primary-color) !important; }
.text-secondary { color: var(--secondary-color) !important; }
.text-muted { color: var(--text-muted) !important; }
.text-center { text-align: center; }

.heading-xl {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.heading-lg {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.heading-md {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

/* =========================================
   Layout & Containers
   ========================================= */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: 6rem 0;
}

.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(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid-5 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.grid-footer { grid-template-columns: 2fr 1fr 1fr 1fr 1fr; }

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

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

@media (min-width: 993px) {
  .flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }
}

/* =========================================
   Components
   ========================================= */

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: none;
  outline: none;
  gap: 0.5rem;
}

.btn-primary {
  background: var(--primary-color);
  color: #fff;
  box-shadow: 0 4px 15px rgba(177, 42, 42, 0.3);
}

.btn-primary:hover {
  background: var(--primary-color-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(177, 42, 42, 0.4);
  color: #fff;
}

.btn-secondary {
  background: var(--secondary-color);
  color: var(--text-inverse);
  box-shadow: 0 4px 15px rgba(239, 181, 54, 0.3);
}

.btn-secondary:hover {
  background: var(--secondary-color-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(239, 181, 54, 0.4);
  color: var(--text-inverse);
}

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

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

/* Glassmorphic Card */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 2rem;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Gradients */
.text-gradient {
  background: linear-gradient(135deg, #fff 0%, var(--secondary-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-gradient {
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
}

/* Inputs */
.form-control {
  width: 100%;
  padding: 1rem 1.2rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: #fff;
  font-family: var(--font-body);
  transition: border-color var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  background: rgba(255, 255, 255, 0.08);
}

.form-control::placeholder {
  color: var(--text-muted);
}

/* =========================================
   Animations
   ========================================= */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fadeIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  opacity: 0;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

/* =========================================
   Responsive Adjustments
   ========================================= */
@media (max-width: 768px) {
  .section-padding {
    padding: 4rem 0;
  }
}

/* =========================================
   Navbar Styling
   ========================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 0;
  z-index: 1000;
  transition: all var(--transition-normal);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(10, 10, 12, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links a {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1rem;
  color: var(--text-main);
  position: relative;
}

.nav-links a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--primary-color);
  transition: width var(--transition-normal);
}

.nav-links a:not(.btn):hover::after,
.nav-links a.active:not(.btn)::after {
  width: 100%;
}

.nav-links a.active {
  color: #fff;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  width: 25px;
  height: 2px;
  background: #fff;
  transition: all 0.3s ease;
}

/* =========================================
   Hero Section
   ========================================= */
.hero {
  min-height: 100vh;
  position: relative;
  padding-top: 10rem;
  overflow: hidden;
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 70% 30%, rgba(177, 42, 42, 0.15) 0%, transparent 50%),
              radial-gradient(circle at 20% 80%, rgba(239, 181, 54, 0.1) 0%, transparent 50%),
              var(--bg-dark);
  z-index: 1;
}

.badge {
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255,255,255,0.1);
}

.badge.text-secondary {
  border-color: rgba(239, 181, 54, 0.3);
  background: rgba(239, 181, 54, 0.05);
}

.badge.text-primary {
  border-color: rgba(177, 42, 42, 0.3);
  background: rgba(177, 42, 42, 0.05);
}

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

/* Hero Image & Blobs */
.hero-image {
  position: relative;
}

.img-wrapper {
  position: relative;
  z-index: 2;
  border-radius: 20px;
}

.hero-img-inner {
  border-radius: 16px;
  width: 100%;
  animation: float 6s ease-in-out infinite;
}

.blob {
  position: absolute;
  filter: blur(60px);
  z-index: 0;
  opacity: 0.5;
  border-radius: 50%;
}

.blob-1 {
  width: 300px;
  height: 300px;
  background: var(--primary-color);
  top: -50px;
  right: -50px;
  animation: pulse 8s infinite alternate;
}

.blob-2 {
  width: 250px;
  height: 250px;
  background: var(--secondary-color);
  bottom: -30px;
  left: -30px;
  animation: pulse 6s infinite alternate-reverse;
}

/* Stats */
.stats-row {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
}

.stat-item {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.5rem;
}

.stat-item h3 {
  font-size: 2.5rem;
  margin-bottom: 0.2rem;
}

/* =========================================
   Vacancies / Jobs Cards
   ========================================= */
.job-card {
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.job-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}

.job-img-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
  border-radius: 16px 16px 0 0;
}

.job-img-wrap img {
  transition: transform 0.5s ease;
}

.job-card:hover .job-img-wrap img {
  transform: scale(1.1);
}

.job-category {
  position: absolute;
  top: 15px;
  right: 15px;
  padding: 5px 12px;
  border-radius: 20px;
  font-weight: 600;
  letter-spacing: 0.5px;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.bg-primary { background-color: var(--primary-color) !important; color: #fff !important; }
.bg-secondary { background-color: var(--secondary-color) !important; color: var(--bg-dark) !important; }

.job-meta i {
  width: 20px;
}

.btn-link {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  font-family: var(--font-heading);
  position: relative;
  color: var(--primary-color);
}

.btn-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--primary-color);
  transition: width 0.3s ease;
}

.btn-link:hover::after {
  width: 100%;
}

.btn-link i {
  transition: transform 0.3s ease;
}

.btn-link:hover i {
  transform: translateX(5px);
}

/* =========================================
   Footer & Utilities
   ========================================= */
.bg-darker {
  background-color: var(--bg-darker);
}

.border-dark {
  border-color: rgba(255,255,255,0.05) !important;
}

.footer-links ul {
  padding-left: 0;
}

.social-links a {
  display: inline-flex;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 10px;
  transition: all 0.3s ease;
  align-items: center;
  justify-content: center;
}

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

/* Helper Classes */
.mb-0 { margin-bottom: 0 !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-5 { margin-bottom: 3rem !important; }
.mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mt-5 { margin-top: 3rem !important; }
.pt-5 { padding-top: 3rem !important; }
.py-4 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
.p-0 { padding: 0 !important; }
.p-2 { padding: 0.5rem !important; }
.p-4 { padding: 1.5rem !important; }
.d-block { display: block !important; }
.d-inline-block { display: inline-block !important; }
.text-xs { font-size: 0.75rem !important; }
.text-sm { font-size: 0.875rem !important; }
.font-weight-bold { font-weight: 700 !important; }
.align-center { align-items: center !important; }
.text-truncate { 
  white-space: nowrap; 
  overflow: hidden; 
  text-overflow: ellipsis; 
}
.w-100 { width: 100% !important; }
.h-100 { height: 100% !important; }
.object-fit-cover { object-fit: cover !important; }
.overflow-hidden { overflow: hidden !important; }
.border-top { border-top: 1px solid; }

/* =========================================
   Animations (Keyframes)
   ========================================= */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.1); opacity: 0.7; }
}

/* Reveal on Scroll */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================
   Mobile Responsiveness
   ========================================= */
@media (max-width: 992px) {
  .hero {
    padding-top: 12rem;
    text-align: center;
  }
  
  .hero .grid-2 {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .grid-footer {
    grid-template-columns: 1fr;
  }
  
  .hero-cta {
    justify-content: center;
  }
  
  .hamburger {
    display: flex;
  }
  
  .nav-links {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: var(--bg-darker);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    transition: left 0.4s ease;
  }
  
  .nav-links.active {
    left: 0;
  }
  
  .d-none { display: none !important; }
  .d-md-flex { display: flex !important; }
}
