/* ═══════════════════════════════════════════════════════════════════════════
   ChemGarments — Premium Corporate Stylesheet
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── CSS Variables (Light Mode) ────────────────────────────────────────── */
:root {
  --primary:       #0a1628;
  --primary-2:     #1e3a5f;
  --primary-3:     #2d5986;
  --accent:        #c8922a;
  --accent-light:  #e6b04a;
  --accent-dark:   #a07020;
  --success:       #27ae60;
  --danger:        #e74c3c;
  --warning:       #f39c12;
  --text:          #2d3748;
  --text-muted:    #718096;
  --text-light:    #a0aec0;
  --bg:            #ffffff;
  --bg-2:          #f7f9fc;
  --bg-3:          #edf2f7;
  --border:        #e2e8f0;
  --shadow-sm:     0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow:        0 4px 6px rgba(0,0,0,.07), 0 2px 4px rgba(0,0,0,.06);
  --shadow-lg:     0 10px 25px rgba(0,0,0,.1), 0 4px 10px rgba(0,0,0,.08);
  --shadow-xl:     0 20px 60px rgba(0,0,0,.12);
  --radius-sm:     6px;
  --radius:        12px;
  --radius-lg:     20px;
  --radius-xl:     30px;
  --transition:    all .3s cubic-bezier(.4,0,.2,1);
  --font-sans:     'Inter', 'Segoe UI', system-ui, sans-serif;
  --font-heading:  'Montserrat', var(--font-sans);
  --nav-height:    80px;
}

/* ─── Dark Mode ─────────────────────────────────────────────────────────── */
[data-theme="dark"] {
  --primary:       #0f1f3d;
  --primary-2:     #1a3057;
  --primary-3:     #264f84;
  --text:          #e2e8f0;
  --text-muted:    #a0aec0;
  --text-light:    #718096;
  --bg:            #111827;
  --bg-2:          #1f2937;
  --bg-3:          #374151;
  --border:        #374151;
  --shadow-sm:     0 1px 3px rgba(0,0,0,.3);
  --shadow:        0 4px 6px rgba(0,0,0,.3);
  --shadow-lg:     0 10px 25px rgba(0,0,0,.4);
}

/* ─── Reset & Base ───────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  transition: background .3s, color .3s;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a  { color: var(--accent); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent-light); }

h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-heading);
  color: var(--primary);
  line-height: 1.2;
  font-weight: 700;
}
[data-theme="dark"] h1,[data-theme="dark"] h2,
[data-theme="dark"] h3,[data-theme="dark"] h4 { color: #f1f5f9; }

/* ─── Utility ───────────────────────────────────────────────────────────── */
.section-padding  { padding: 100px 0; }
.section-padding-sm { padding: 60px 0; }
.text-accent      { color: var(--accent) !important; }
.text-primary-2   { color: var(--primary-2) !important; }
.bg-primary-dark  { background: var(--primary); }
.bg-light-custom  { background: var(--bg-2); }
.fw-600           { font-weight: 600; }
.fw-700           { font-weight: 700; }
.fw-800           { font-weight: 800; }

/* ─── Section Headers ────────────────────────────────────────────────────── */
.section-header  { text-align: center; margin-bottom: 60px; }
.section-label   {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 16px;
}
[data-theme="dark"] .section-title { color: #f1f5f9; }
.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}
.title-line {
  width: 60px; height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  border-radius: 2px;
  margin: 16px auto 0;
}

/* ─── Navbar ─────────────────────────────────────────────────────────────── */
.navbar-main {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(10,22,40,.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,.07);
  transition: var(--transition);
}
.navbar-main.scrolled {
  background: rgba(10,22,40,.98);
  box-shadow: 0 4px 30px rgba(0,0,0,.3);
  height: 68px;
}
.navbar-main .container {
  height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.navbar-logo img { height: 45px; width: auto; }
.navbar-logo span {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.3px;
}
.navbar-logo span em {
  color: var(--accent);
  font-style: normal;
}
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links a {
  color: rgba(255,255,255,.85);
  font-size: .9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active {
  color: #fff;
  background: rgba(255,255,255,.08);
}
.nav-links .dropdown { position: relative; }
.nav-links .dropdown-menu {
  position: absolute; top: calc(100% + 10px); left: 0;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(-10px);
  transition: var(--transition);
  z-index: 100;
}
.nav-links .dropdown:hover .dropdown-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav-links .dropdown-menu a {
  color: var(--text);
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: .88rem;
}
.nav-links .dropdown-menu a:hover { background: var(--bg-2); color: var(--accent); }
.nav-links .dropdown-menu .dm-icon {
  width: 32px; height: 32px;
  background: var(--bg-2);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: var(--accent); flex-shrink: 0;
}
.nav-actions { display: flex; align-items: center; gap: 10px; }
.btn-nav-cta {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff !important;
  padding: 9px 20px !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
  font-size: .85rem !important;
  border: none; cursor: pointer;
  box-shadow: 0 4px 15px rgba(200,146,42,.3);
}
.btn-nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(200,146,42,.4);
}
.dark-toggle {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.8);
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 1rem; transition: var(--transition);
}
.dark-toggle:hover { background: rgba(255,255,255,.15); color: #fff; }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 4px; background: none; border: none;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: #fff; border-radius: 2px; transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ─── Hero Slider ─────────────────────────────────────────────────────────── */
.hero-section {
  position: relative;
  height: 100vh; min-height: 650px; max-height: 900px;
  overflow: hidden;
  padding-top: var(--nav-height);
}
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity .8s ease;
  background-size: cover; background-position: center;
}
.hero-slide.active { opacity: 1; }
.hero-slide::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg,
    rgba(10,22,40,.85) 0%,
    rgba(10,22,40,.5) 50%,
    rgba(10,22,40,.3) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  height: calc(100vh - var(--nav-height));
  min-height: 500px;
  display: flex; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(200,146,42,.15);
  border: 1px solid rgba(200,146,42,.4);
  color: var(--accent-light);
  font-size: .8rem; font-weight: 600; letter-spacing: 1px;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 50px;
  margin-bottom: 20px;
}
.hero-title {
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 20px;
}
.hero-title span { color: var(--accent); }
.hero-desc {
  font-size: 1.15rem;
  color: rgba(255,255,255,.8);
  margin-bottom: 36px;
  max-width: 550px;
  line-height: 1.7;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-stats {
  display: flex; flex-wrap: wrap; gap: 30px;
  margin-top: 50px; padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.hero-stat-item { color: rgba(255,255,255,.9); }
.hero-stat-item strong {
  display: block;
  font-size: 2rem; font-weight: 800;
  color: var(--accent);
  font-family: var(--font-heading);
}
.hero-stat-item span { font-size: .85rem; color: rgba(255,255,255,.6); }

.slider-controls {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  z-index: 10; display: flex; gap: 10px;
}
.slider-dot {
  width: 10px; height: 10px;
  border-radius: 50%; background: rgba(255,255,255,.4);
  cursor: pointer; transition: var(--transition);
}
.slider-dot.active { background: var(--accent); width: 28px; border-radius: 5px; }
.slider-arrows {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 10; width: 100%; display: flex; justify-content: space-between;
  padding: 0 20px; pointer-events: none;
}
.slider-arrow {
  pointer-events: all; cursor: pointer;
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff; display: flex; align-items: center; justify-content: center;
  transition: var(--transition); backdrop-filter: blur(8px);
}
.slider-arrow:hover { background: var(--accent); border-color: var(--accent); }

/* ─── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px;
  border-radius: 50px; font-weight: 600; font-size: .92rem;
  border: 2px solid transparent; cursor: pointer;
  transition: var(--transition); white-space: nowrap; line-height: 1;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  box-shadow: 0 4px 15px rgba(200,146,42,.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(200,146,42,.4); color: #fff; }
.btn-outline-white {
  border-color: rgba(255,255,255,.5); color: #fff; background: transparent;
}
.btn-outline-white:hover { background: rgba(255,255,255,.1); border-color: #fff; color: #fff; }
.btn-outline-primary {
  border-color: var(--primary-2); color: var(--primary-2); background: transparent;
}
.btn-outline-primary:hover { background: var(--primary-2); color: #fff; }
.btn-sm { padding: 9px 20px; font-size: .84rem; }
.btn-lg { padding: 16px 36px; font-size: 1rem; }
.btn-icon { width: 44px; height: 44px; padding: 0; border-radius: 50%; justify-content: center; }

/* ─── Cards ──────────────────────────────────────────────────────────────── */
.card-custom {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  overflow: hidden;
}
.card-custom:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: transparent;
}

/* ─── Products Grid ──────────────────────────────────────────────────────── */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px,1fr)); gap: 24px; }
.product-card { position: relative; overflow: hidden; border-radius: var(--radius); }
.product-card .product-img {
  position: relative; height: 240px; overflow: hidden; background: var(--bg-2);
}
.product-card .product-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.product-card:hover .product-img img { transform: scale(1.08); }
.product-card .product-badge {
  position: absolute; top: 14px; left: 14px;
  background: var(--accent); color: #fff;
  font-size: .72rem; font-weight: 700; padding: 4px 10px; border-radius: 4px;
}
.product-card .product-actions {
  position: absolute; top: 14px; right: 14px;
  display: flex; flex-direction: column; gap: 6px;
  opacity: 0; transform: translateX(10px); transition: var(--transition);
}
.product-card:hover .product-actions { opacity: 1; transform: translateX(0); }
.product-card .product-body { padding: 20px; }
.product-card .product-category {
  font-size: .75rem; color: var(--accent); font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px;
}
.product-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; color: var(--primary); }
[data-theme="dark"] .product-card h3 { color: #f1f5f9; }
.product-card p { font-size: .86rem; color: var(--text-muted); margin-bottom: 14px; line-height: 1.5; }

/* ─── Services ───────────────────────────────────────────────────────────── */
.service-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
  position: relative; overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  transform: scaleX(0); transition: var(--transition);
}
.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 70px; height: 70px; margin: 0 auto 20px;
  background: linear-gradient(135deg, rgba(200,146,42,.1), rgba(200,146,42,.2));
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; color: var(--accent);
  transition: var(--transition);
}
.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff; transform: rotateY(10deg);
}

/* ─── Stats Counter ──────────────────────────────────────────────────────── */
.stats-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-2) 100%);
  position: relative; overflow: hidden;
}
.stats-section::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.stat-item { text-align: center; color: #fff; position: relative; }
.stat-item .stat-number {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  font-family: var(--font-heading);
  color: var(--accent);
  display: block; line-height: 1;
}
.stat-item .stat-label {
  font-size: .9rem; color: rgba(255,255,255,.7);
  margin-top: 8px; text-transform: uppercase; letter-spacing: 1px;
}
.stat-divider {
  width: 1px; background: rgba(255,255,255,.12);
  margin: 0 20px;
}

/* ─── Blog ───────────────────────────────────────────────────────────────── */
.blog-card .blog-img {
  height: 220px; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0;
}
.blog-card .blog-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.blog-card:hover .blog-img img { transform: scale(1.06); }
.blog-card .blog-body { padding: 24px; }
.blog-card .blog-meta { display: flex; gap: 16px; font-size: .8rem; color: var(--text-muted); margin-bottom: 12px; }
.blog-card .blog-meta span { display: flex; align-items: center; gap: 4px; }
.blog-card h3 { font-size: 1.05rem; margin-bottom: 10px; }
.blog-card h3 a { color: var(--primary); }
.blog-card h3 a:hover { color: var(--accent); }
[data-theme="dark"] .blog-card h3 a { color: #f1f5f9; }

/* ─── Certifications ────────────────────────────────────────────────────── */
.cert-card {
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
}
.cert-card:hover { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(200,146,42,.08); }
.cert-card img { height: 80px; width: auto; object-fit: contain; margin: 0 auto 20px; }

/* ─── Testimonials ───────────────────────────────────────────────────────── */
.testimonial-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
}
.testimonial-card::before {
  content: '"';
  position: absolute; top: 20px; left: 24px;
  font-size: 5rem; color: var(--accent); opacity: .15;
  font-family: Georgia, serif; line-height: 1;
}
.testimonial-stars { color: var(--warning); font-size: .9rem; margin-bottom: 12px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.testimonial-author img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.testimonial-author .name { font-weight: 700; font-size: .95rem; }
.testimonial-author .company { font-size: .8rem; color: var(--text-muted); }

/* ─── About Tabs ────────────────────────────────────────────────────────── */
.tab-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.tab-pill {
  padding: 9px 22px; border-radius: 50px;
  border: 2px solid var(--border);
  background: var(--bg); color: var(--text-muted);
  font-weight: 600; font-size: .88rem; cursor: pointer; transition: var(--transition);
}
.tab-pill.active {
  background: var(--primary); color: #fff; border-color: var(--primary);
}
.tab-content-item { display: none; }
.tab-content-item.active { display: block; animation: fadeIn .3s ease; }

/* ─── Timeline ───────────────────────────────────────────────────────────── */
.timeline { position: relative; padding-left: 32px; }
.timeline::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(180deg, var(--accent), var(--primary-2));
}
.timeline-item { position: relative; margin-bottom: 32px; }
.timeline-dot {
  position: absolute; left: -40px; top: 4px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--accent); border: 3px solid var(--bg);
  box-shadow: 0 0 0 2px var(--accent);
}
.timeline-year {
  font-size: .8rem; font-weight: 700; color: var(--accent);
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px;
}

/* ─── Page Hero (inner pages) ────────────────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-2) 100%);
  padding: calc(var(--nav-height) + 60px) 0 60px;
  position: relative; overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute; right: -100px; top: -100px;
  width: 400px; height: 400px; border-radius: 50%;
  background: rgba(200,146,42,.06); border: 1px solid rgba(200,146,42,.1);
}
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 10px; }
.page-hero .breadcrumb { background: none; padding: 0; margin: 0; }
.page-hero .breadcrumb-item a { color: rgba(255,255,255,.6); }
.page-hero .breadcrumb-item.active { color: var(--accent); }
.page-hero .breadcrumb-item+.breadcrumb-item::before { color: rgba(255,255,255,.3); }

/* ─── Contact Form ───────────────────────────────────────────────────────── */
.contact-info-item {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px 0; border-bottom: 1px solid var(--border);
}
.contact-info-item:last-child { border-bottom: none; }
.contact-icon {
  width: 48px; height: 48px; flex-shrink: 0;
  background: linear-gradient(135deg, rgba(200,146,42,.1), rgba(200,146,42,.2));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: var(--accent);
}
.form-floating-custom { position: relative; margin-bottom: 20px; }
.form-floating-custom label {
  position: absolute; top: 50%; left: 16px; transform: translateY(-50%);
  color: var(--text-muted); font-size: .9rem; pointer-events: none;
  transition: var(--transition);
  background: transparent;
}
.form-floating-custom .form-control:focus ~ label,
.form-floating-custom .form-control:not(:placeholder-shown) ~ label {
  top: -10px; font-size: .78rem; color: var(--accent);
  background: var(--bg); padding: 0 4px;
}
.form-control-custom {
  width: 100%; padding: 14px 16px;
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: .93rem; font-family: var(--font-sans);
  transition: var(--transition); outline: none;
}
.form-control-custom:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(200,146,42,.12);
}
.form-control-custom::placeholder { color: var(--text-light); }
textarea.form-control-custom { min-height: 130px; resize: vertical; }
[data-theme="dark"] .form-control-custom {
  background: var(--bg-2); border-color: var(--border);
}

/* ─── Careers ────────────────────────────────────────────────────────────── */
.job-card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px; transition: var(--transition);
  border-left: 4px solid transparent;
}
.job-card:hover { border-left-color: var(--accent); box-shadow: var(--shadow-lg); transform: translateX(4px); }
.job-badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: .75rem; font-weight: 600; padding: 4px 10px;
  border-radius: 4px; text-transform: uppercase; letter-spacing: .5px;
}
.job-badge.full-time { background: rgba(39,174,96,.1); color: #27ae60; }
.job-badge.part-time { background: rgba(243,156,18,.1); color: #f39c12; }
.job-badge.contract  { background: rgba(52,152,219,.1); color: #3498db; }

/* ─── WhatsApp Button ────────────────────────────────────────────────────── */
.whatsapp-float {
  position: fixed; bottom: 30px; right: 30px; z-index: 9999;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: #fff;
  box-shadow: 0 6px 20px rgba(37,211,102,.4);
  transition: var(--transition);
  animation: pulse-green 2s infinite;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 8px 28px rgba(37,211,102,.5); color: #fff; }
@keyframes pulse-green {
  0%,100% { box-shadow: 0 0 0 0 rgba(37,211,102,.4); }
  50%      { box-shadow: 0 0 0 14px rgba(37,211,102,0); }
}

/* ─── Back to Top ────────────────────────────────────────────────────────── */
.back-to-top {
  position: fixed; bottom: 30px; right: 98px; z-index: 9998;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--primary-2); color: #fff;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: var(--transition);
  box-shadow: var(--shadow);
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--accent); color: #fff; transform: translateY(-3px); }

/* ─── Footer ─────────────────────────────────────────────────────────────── */
.footer {
  background: var(--primary);
  color: rgba(255,255,255,.7);
}
.footer-top { padding: 70px 0 50px; }
.footer-logo { font-family: var(--font-heading); font-size: 1.4rem; font-weight: 800; color: #fff; margin-bottom: 16px; }
.footer-logo em { color: var(--accent); font-style: normal; }
.footer-desc { font-size: .9rem; line-height: 1.7; margin-bottom: 24px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.6); font-size: .95rem; transition: var(--transition);
}
.footer-social a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.footer h5 { color: #fff; font-size: .95rem; font-weight: 700; margin-bottom: 20px; letter-spacing: .5px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: rgba(255,255,255,.6); font-size: .88rem; display: flex; align-items: center; gap: 6px;
}
.footer-links a::before { content: '›'; color: var(--accent); font-size: 1.1rem; }
.footer-links a:hover { color: #fff; padding-left: 4px; }
.footer-contact-item { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; font-size: .88rem; }
.footer-contact-item i { color: var(--accent); margin-top: 2px; flex-shrink: 0; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 20px 0;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 10px; font-size: .83rem;
}
.footer-bottom a { color: var(--accent); }

/* ─── Scroll Animations ──────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left  { opacity: 0; transform: translateX(-30px); transition: opacity .6s ease, transform .6s ease; }
.reveal-right { opacity: 0; transform: translateX(30px);  transition: opacity .6s ease, transform .6s ease; }
.reveal-left.visible, .reveal-right.visible { opacity: 1; transform: translateX(0); }

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

/* ─── Newsletter Strip ────────────────────────────────────────────────────── */
.newsletter-strip {
  background: linear-gradient(135deg, var(--primary-2), var(--primary));
  padding: 60px 0;
}
.newsletter-form { display: flex; gap: 10px; max-width: 480px; }
.newsletter-input {
  flex: 1; padding: 14px 20px; border-radius: 50px;
  border: none; background: rgba(255,255,255,.1); color: #fff;
  font-size: .9rem; outline: none;
  border: 1px solid rgba(255,255,255,.2);
}
.newsletter-input::placeholder { color: rgba(255,255,255,.5); }
.newsletter-input:focus { border-color: var(--accent); background: rgba(255,255,255,.15); }

/* ─── Alert Styles ───────────────────────────────────────────────────────── */
.alert {
  padding: 14px 20px; border-radius: var(--radius-sm);
  font-size: .9rem; margin-bottom: 16px; border: 1px solid;
}
.alert-success { background: rgba(39,174,96,.1); color: #1a7a45; border-color: rgba(39,174,96,.2); }
.alert-error   { background: rgba(231,76,60,.1);  color: #c0392b; border-color: rgba(231,76,60,.2); }
.alert-warning { background: rgba(243,156,18,.1); color: #d68910; border-color: rgba(243,156,18,.2); }
.alert-info    { background: rgba(52,152,219,.1); color: #1a6fa3; border-color: rgba(52,152,219,.2); }
[data-theme="dark"] .alert-success { background: rgba(39,174,96,.15); color: #52d68a; }
[data-theme="dark"] .alert-error   { background: rgba(231,76,60,.15); color: #f1948a; }

/* ─── Preloader ──────────────────────────────────────────────────────────── */
#preloader {
  position: fixed; inset: 0; z-index: 99999;
  background: var(--primary);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .5s, visibility .5s;
}
#preloader.hidden { opacity: 0; visibility: hidden; }
.loader-ring {
  width: 60px; height: 60px; border-radius: 50%;
  border: 4px solid rgba(255,255,255,.1);
  border-top-color: var(--accent);
  animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ─── Search Overlay ─────────────────────────────────────────────────────── */
.search-overlay {
  position: fixed; inset: 0; z-index: 9998;
  background: rgba(10,22,40,.95); backdrop-filter: blur(20px);
  display: flex; align-items: flex-start; justify-content: center;
  padding-top: 120px;
  opacity: 0; visibility: hidden; transition: var(--transition);
}
.search-overlay.open { opacity: 1; visibility: visible; }
.search-box { width: 100%; max-width: 700px; padding: 0 20px; }
.search-input-wrap { position: relative; }
.search-input-wrap input {
  width: 100%; padding: 20px 60px 20px 20px;
  background: var(--bg-2); border: 2px solid var(--border);
  border-radius: var(--radius); color: var(--text); font-size: 1.2rem; outline: none;
}
.search-input-wrap input:focus { border-color: var(--accent); }
.search-input-wrap .search-close {
  position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: var(--text-muted); font-size: 1.4rem; cursor: pointer;
}

/* ─── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 991px) {
  .nav-links { display: none; flex-direction: column; position: fixed; top: var(--nav-height); left: 0; right: 0;
    background: var(--primary); padding: 20px; gap: 4px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav-links.open { display: flex; }
  .nav-links .dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; background: rgba(255,255,255,.05); border: none; margin-top: 4px; }
  .hamburger { display: flex; }
}
@media (max-width: 767px) {
  .section-padding { padding: 60px 0; }
  .hero-title { font-size: 2rem; }
  .hero-stats { gap: 20px; }
  .hero-stat-item strong { font-size: 1.6rem; }
  .whatsapp-float { bottom: 20px; right: 20px; }
  .back-to-top { right: 84px; bottom: 20px; }
  .newsletter-form { flex-direction: column; }
  .footer-bottom { text-align: center; justify-content: center; }
}
