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

/* --- Reset & Global Variables --- */
:root {
  --primary: #D97706;
  --primary-hover: #B45309;
  --primary-light: rgba(217, 119, 6, 0.1);
  --primary-light-15: rgba(217, 119, 6, 0.15);
  --dark-bg: #0B0F19;
  --dark-card: #151E33;
  --dark-border: #1E293B;
  --light-bg: #FFFFFF;
  --light-sec: #F9FAFB;
  --light-border: #F3F4F6;
  --light-border-md: #E5E7EB;
  --text-dark: #111827;
  --text-dark-muted: #6B7280;
  --text-dark-subtle: #9CA3AF;
  --text-light: #F9FAFB;
  --text-light-muted: #9CA3AF;

  /* --- Admin Light Theme --- */
  --admin-bg: #f8fafc; /* Slate-50 background */
  --admin-card: #ffffff; /* White card */
  --admin-border: #e2e8f0; /* Slate-200 border */
  --admin-text: #0f172a; /* Slate-900 text */
  --admin-text-muted: #64748b; /* Slate-500 text */
  --admin-sidebar-bg: #ffffff; /* White sidebar */
  --admin-sidebar-border: #e2e8f0; /* Sidebar right border */
  --admin-table-hdr-bg: #f1f5f9; /* Slate-100 table header */
  --admin-tr-hover: #f8fafc;

  --font-heading: 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.04);
  --shadow-primary: 0 10px 25px -5px rgba(217,119,6,0.25);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--light-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.1;
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.section { padding: 96px 0; }
.section-dark { background-color: var(--dark-bg); color: var(--text-light); }
.section-light { background-color: var(--light-bg); }
.section-gray { background-color: var(--light-sec); }
.text-center { text-align: center; }

/* --- Badge (pill label) --- */
.badge {
  display: inline-block;
  padding: 4px 14px;
  font-size: 11px;
  font-weight: 600;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
  border: 1.5px solid var(--light-border-md);
  color: var(--text-dark-muted);
  margin-bottom: 16px;
  text-transform: uppercase;
}

.badge-primary {
  border-color: rgba(217,119,6,0.4);
  color: var(--primary);
  background: none;
  margin-bottom: 12px;
}

.badge-dark {
  border-color: rgba(255,255,255,0.15);
  color: var(--text-light-muted);
}

/* --- Section Headers --- */
.section-heading {
  font-size: 42px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 12px;
  line-height: 1.05;
}

.section-heading-white {
  color: #ffffff;
}

.section-subtext {
  font-size: 15px;
  color: var(--text-dark-muted);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.65;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  font-family: var(--font-body);
  line-height: 1;
}

.btn-primary {
  background-color: var(--primary);
  color: #000000;
  box-shadow: var(--shadow-primary);
}

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

.btn-dark {
  background-color: #000000;
  color: #ffffff;
}

.btn-dark:hover {
  background-color: #1a1a1a;
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  border: 1.5px solid var(--light-border-md);
  color: var(--text-dark-muted);
}

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

/* --- Header / Navigation --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition);
}

header.transparent {
  background-color: transparent;
  padding: 16px 0;
}

header.solid {
  background-color: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--light-border);
  padding: 8px 0;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}

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

.logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

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

.logo-img {
  height: 72px;
  width: auto;
  object-fit: contain;
  display: block;
  cursor: pointer;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 32px;
}

.nav-cta-mobile {
  display: none;
}

.nav-links a, .nav-links button {
  text-decoration: none;
  color: var(--text-dark-muted);
  font-weight: 500;
  font-size: 14px;
  transition: var(--transition-fast);
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  padding: 0;
}

.nav-links a:hover, .nav-links button:hover,
.nav-links a.active, .nav-links button.active {
  color: var(--text-dark);
}

header.transparent .nav-links a,
header.transparent .nav-links button {
  color: var(--text-dark);
  font-weight: 600;
  text-shadow: 0 1px 4px rgba(255, 255, 255, 0.8);
}

header.transparent .nav-links a:hover,
header.transparent .nav-links button:hover {
  color: var(--primary);
}

.hamburger {
  display: none;
  cursor: pointer;
  border: none;
  background: transparent;
  outline: none;
  padding: 4px;
  color: var(--text-dark);
}

header.transparent .hamburger { color: var(--text-dark); }

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: currentColor;
  margin: 5px 0;
  transition: var(--transition);
}

/* --- Hero Section --- */
.hero-home {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 0;
  padding: 0;
}

.hero-video-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-video {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  display: block;
}

.hero-content-wrapper {
  position: relative;
  z-index: 10;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.hero-spacer { height: 80px; flex-shrink: 0; }

.hero-body {
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  text-align: center;
  padding: 0 96px 72px;
}

.hero-body > div {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-label,
.hero-h1,
.hero-desc {
  display: none !important;
}

.hero-cta-bar {
  display: none;
}

.hero-dots {
  padding: 0 96px 40px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.hero-dot-track { display: flex; gap: 8px; }

.hero-dot {
  height: 8px;
  border-radius: var(--radius-full);
  transition: all 0.3s ease;
  background: rgba(255,255,255,0.5);
  width: 8px;
  border: none;
  cursor: pointer;
  padding: 0;
}

.hero-dot.active {
  background: var(--primary);
  width: 32px;
}

/* --- Stamp Badge (rotating) --- */
.hero-stamp {
  position: absolute;
  bottom: 64px;
  right: 80px;
  width: 112px;
  height: 112px;
  display: none;
  z-index: 10;
}

@media (min-width: 640px) { .hero-stamp { display: block; } }

.stamp-ring {
  position: absolute;
  inset: 0;
  animation: spin 18s linear infinite;
}

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

.stamp-center {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stamp-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: var(--primary);
  box-shadow: var(--shadow-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000000;
}

/* --- About Section --- */
.about-grid {
  display: grid;
  grid-template-columns: 2fr 2fr 1.8fr;
  gap: 40px;
  align-items: start;
}

.about-text-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.about-desc {
  color: var(--text-dark-muted);
  font-size: 14px;
  line-height: 1.7;
}

.about-desc strong { color: var(--text-dark); font-weight: 700; }

.about-logo-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--light-border-md);
}

.about-logo-strip img { height: 60px; width: auto; }

.about-logo-strip-text { }
.about-logo-strip-text p { font-size: 13px; font-weight: 700; color: var(--text-dark); margin-bottom: 2px; }
.about-logo-strip-text span { font-size: 11px; color: var(--text-dark-subtle); }

.about-img-col { }

.about-img-wrap {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 480px;
}

.about-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.about-side-col {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.about-stamp-container {
  display: flex;
  justify-content: center;
}

.about-stamp {
  position: relative;
  width: 210px;
  height: 210px;
}

.about-stamp svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: spin 18s linear infinite;
}

.about-stamp-logo {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-stamp-logo img { height: 100px; width: auto; }

.about-mission-box { }

.about-mission-box h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.about-mission-box p {
  font-size: 13px;
  color: var(--text-dark-muted);
  line-height: 1.65;
}

.about-vision-box {
  padding-top: 24px;
  border-top: 1px solid var(--light-border);
}

/* --- Services Section --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--light-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--light-border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.service-card:hover {
  box-shadow: var(--shadow-md);
}

.service-card-img {
  height: 208px;
  overflow: hidden;
  position: relative;
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-card-img img {
  transform: scale(1.06);
}

.service-card-body { padding: 20px; }

.service-card-body h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
  line-height: 1.3;
}

.service-card-body p {
  font-size: 13px;
  color: var(--text-dark-muted);
  line-height: 1.65;
  margin-bottom: 16px;
}

.service-card-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 11px;
  color: var(--text-dark-subtle);
  margin-bottom: 16px;
}

.service-card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.view-more-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: gap 0.2s ease;
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--font-body);
  padding: 0;
}

.view-more-link:hover { gap: 10px; color: var(--primary-hover); }

/* --- Why Choose Section (dark) --- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.why-card {
  background-color: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
  position: relative;
}

.why-card:hover { border-color: var(--primary); }

.why-number {
  font-size: 56px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.08);
  line-height: 1;
  margin-bottom: 20px;
}

.why-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
}

.why-card p {
  font-size: 14px;
  color: var(--text-light-muted);
  line-height: 1.65;
}

/* --- Stats Section --- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.stat-item { }

.stat-number {
  font-size: 48px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 13px;
  color: var(--text-dark-muted);
  font-weight: 500;
}

/* --- Projects Section --- */
.projects-grid-bcc {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 0;
}

.project-card-bcc {
  background: var(--light-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--light-border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.project-card-bcc:hover { box-shadow: var(--shadow-md); border-color: rgba(217,119,6,0.35); }

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

.project-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card-bcc:hover .project-card-img img { transform: scale(1.05); }

.project-card-overlay {
  position: absolute;
  top: 12px;
  left: 12px;
}

.project-tag {
  background: rgba(0,0,0,0.6);
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
}

.project-card-body {
  padding: 20px;
}

.project-card-body h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.project-card-body p {
  font-size: 13px;
  color: var(--text-dark-muted);
  line-height: 1.6;
  margin-bottom: 12px;
}

.project-meta {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--text-dark-subtle);
}

/* --- Testimonials --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 36px 36px 32px 36px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: var(--transition);
  box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

.testimonial-card:hover {
  border-color: rgba(217,119,6,0.3);
  box-shadow: var(--shadow-md);
}

.testimonial-quote {
  display: none;
}

.testimonial-text {
  font-size: 14.5px;
  color: #4b5563;
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: normal;
}

.testimonial-stars {
  display: flex;
  gap: 5px;
  color: var(--primary);
  margin-bottom: 18px;
  font-size: 16px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.author-info-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: #FEF3C7;
  color: #D97706;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

.author-name { font-size: 14px; font-weight: 700; color: var(--text-dark); }
.author-role { font-size: 12px; color: var(--text-dark-subtle); }

.testimonial-badge {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background-color: #FEF3C7;
  color: #D97706;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
}

/* --- FAQ Section --- */
.faq-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.faq-item {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover { border-color: rgba(217,119,6,0.3); }

.faq-header {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  color: #ffffff;
  user-select: none;
  gap: 16px;
}

.faq-header-icon {
  color: var(--primary);
  flex-shrink: 0;
  transition: transform 0.3s ease;
  font-size: 18px;
  line-height: 1;
}

.faq-item.active .faq-header-icon { transform: rotate(45deg); }

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding: 0 24px;
  color: var(--text-light-muted);
  font-size: 14px;
  line-height: 1.65;
}

.faq-item.active .faq-content { padding-bottom: 20px; }

/* --- Contact Section --- */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto 48px auto;
}

.contact-card {
  background: var(--light-sec);
  border-radius: var(--radius-lg);
  border: 1px solid var(--light-border);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
  text-decoration: none;
  display: block;
}

.contact-card:hover {
  border-color: rgba(217,119,6,0.4);
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
}

.contact-card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  transition: var(--transition);
}

.contact-card:hover .contact-card-icon {
  background: var(--primary);
  color: #000000;
}

.contact-card-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-dark-subtle);
  margin-bottom: 8px;
}

.contact-card-primary {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.contact-card-secondary {
  font-size: 13px;
  color: var(--text-dark-subtle);
  line-height: 1.5;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.social-link {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--light-sec);
  border: 1px solid var(--light-border-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark-muted);
  text-decoration: none;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--primary);
  color: #000000;
  border-color: var(--primary);
}

/* --- Footer --- */
footer {
  background-color: var(--dark-bg);
  padding: 64px 0 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2.5fr 1fr 2fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-logo img { height: 80px; width: auto; margin-bottom: 16px; }

.footer-about-text {
  color: var(--text-light-muted);
  font-size: 13px;
  line-height: 1.7;
  max-width: 320px;
  margin-bottom: 24px;
}

.footer-social-links { display: flex; gap: 10px; }

.footer-social-link {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--dark-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light-muted);
  text-decoration: none;
  transition: var(--transition);
}

.footer-social-link:hover {
  background: var(--primary);
  color: #000000;
}

.footer-links-title {
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

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

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

.footer-links-list a, .footer-links-list button {
  color: var(--text-light-muted);
  font-size: 13px;
  text-decoration: none;
  transition: var(--transition-fast);
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  padding: 0;
}

.footer-links-list a:hover, .footer-links-list button:hover { color: var(--primary); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-contact-item svg {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
  width: 16px;
  height: 16px;
}

.footer-contact-item p {
  color: var(--text-light-muted);
  font-size: 13px;
  line-height: 1.5;
}

.footer-contact-item p small { font-size: 11px; color: #6B7280; }

.footer-bottom {
  border-top: 1px solid var(--dark-border);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom p {
  font-size: 12px;
  color: #6B7280;
}

.footer-bottom a { color: #6B7280; text-decoration: none; transition: var(--transition-fast); }
.footer-bottom a:hover { color: var(--primary); }

/* --- Careers Hero --- */
.hero-careers {
  background-color: var(--dark-bg);
  padding: 128px 0 80px 0;
  position: relative;
  overflow: hidden;
}

.careers-hero-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 100% 0%, rgba(217,119,6,0.15), transparent 60%);
}

.hero-careers h1 {
  font-size: 56px;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.05;
}

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

.hero-careers p {
  font-size: 16px;
  color: var(--text-light-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.65;
}

/* --- Why Work Cards --- */
.why-work-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.why-work-card {
  background: var(--light-sec);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--light-border);
}

.why-work-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 16px;
}

.why-work-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.why-work-card p { font-size: 13px; color: var(--text-dark-muted); line-height: 1.6; }

/* --- Job Cards --- */
.jobs-grid-bcc {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.job-card-bcc {
  background: var(--light-bg);
  border: 1px solid var(--light-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.job-card-bcc:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(217,119,6,0.3);
}

.job-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 12px;
  gap: 8px;
}

.job-type-badge {
  background: var(--primary-light);
  color: var(--primary);
  font-size: 10px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  flex-shrink: 0;
  letter-spacing: 0.02em;
}

.job-title { font-size: 17px; font-weight: 700; color: var(--text-dark); margin-bottom: 3px; }
.job-dept { font-size: 12px; color: var(--primary); font-weight: 600; }

.job-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-dark-subtle);
  margin-bottom: 16px;
  margin-top: 4px;
}

.job-desc {
  font-size: 13px;
  color: var(--text-dark-muted);
  line-height: 1.65;
  margin-bottom: 16px;
  flex-grow: 1;
}

.job-requirements {
  list-style: none;
  margin-bottom: 20px;
}

.job-requirements li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  color: var(--text-dark-muted);
  margin-bottom: 6px;
}

.job-requirements li::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: var(--radius-full);
  background: var(--primary);
  flex-shrink: 0;
  margin-top: 5px;
}

.apply-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  border: none;
  background: none;
  cursor: pointer;
  font-family: var(--font-body);
  padding: 0;
  transition: gap 0.2s ease;
  margin-top: auto;
}

.apply-link:hover { gap: 10px; color: var(--primary-hover); }

/* --- No Role Banner --- */
.no-role-section {
  background: var(--primary);
  padding: 64px 0;
  text-align: center;
}

.no-role-section img { height: 48px; width: auto; margin: 0 auto 20px auto; display: block; }
.no-role-section h2 { font-size: 30px; color: #000000; margin-bottom: 12px; }
.no-role-section p { color: rgba(0,0,0,0.7); font-size: 14px; margin-bottom: 24px; max-width: 400px; margin-left: auto; margin-right: auto; }

/* --- Modal --- */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal.active { display: flex; }

.modal-box {
  background: #ffffff;
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 520px;
  padding: 36px 36px 24px 36px;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-dark-muted);
  font-size: 22px;
  line-height: 1;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
}

.modal-close:hover { background: var(--light-sec); color: var(--text-dark); }

.modal-box h3 { font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.modal-box .modal-subtitle { font-size: 13px; color: var(--text-dark-muted); margin-bottom: 24px; }

/* Modal scrolling updates */
body.modal-open {
  overflow: hidden !important;
}

#apply-form, #projectForm, #jobForm {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.modal-body-scroll, .admin-modal-body-scroll {
  flex: 1;
  overflow-y: auto;
  padding-right: 8px;
  margin-bottom: 20px;
}

/* --- Forms --- */
.form-group { margin-bottom: 16px; }

.form-control {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  border: 1.5px solid var(--light-border-md);
  border-radius: var(--radius-md);
  background: #ffffff;
  outline: none;
  transition: border-color 0.2s ease;
  color: var(--text-dark);
}

.form-control:focus { border-color: var(--primary); }
textarea.form-control { resize: vertical; min-height: 100px; }

.form-actions { display: flex; gap: 12px; margin-top: 12px; }
.form-actions .btn { flex: 1; }



/* --- Admin Login --- */
.admin-login-body {
  background: var(--admin-bg);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  color: var(--admin-text);
}

.login-card {
  background: var(--admin-card);
  border: 1px solid var(--admin-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  width: 100%;
  max-width: 420px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.login-card .logo-img { height: 56px; margin: 0 auto 28px auto; }

.login-card h2 {
  font-size: 22px;
  color: var(--admin-text);
  margin-bottom: 8px;
}

.login-card > p {
  font-size: 13px;
  color: var(--admin-text-muted);
  margin-bottom: 28px;
  line-height: 1.5;
}

.otp-container { display: flex; justify-content: center; gap: 10px; margin-bottom: 24px; }

.otp-input {
  width: 48px;
  height: 56px;
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  border: 2px solid var(--admin-border);
  background: var(--admin-bg);
  color: var(--admin-text);
  border-radius: var(--radius-md);
  outline: none;
  transition: border-color 0.2s ease;
  font-family: var(--font-body);
}

.otp-input:focus { border-color: var(--primary); }

.login-error {
  color: #F87171;
  font-size: 12px;
  margin-top: 12px;
  display: none;
}

/* --- Admin Dashboard Layout --- */
.admin-dashboard {
  display: flex;
  min-height: 100vh;
  background: var(--admin-bg);
  color: var(--admin-text);
  font-family: var(--font-body);
}

.admin-sidebar {
  width: 240px;
  background: var(--admin-sidebar-bg);
  border-right: 1px solid var(--admin-sidebar-border);
  display: flex;
  flex-direction: column;
  padding: 24px 0;
  position: fixed;
  height: 100vh;
  top: 0;
  left: 0;
}

.admin-logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 24px;
  margin-bottom: 24px;
  height: 64px;
}

.admin-logo-container img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.admin-nav { list-style: none; flex-grow: 1; }

.admin-nav-item a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  color: var(--admin-text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: var(--transition-fast);
  border-left: 3px solid transparent;
}

.admin-nav-item a:hover,
.admin-nav-item.active a {
  color: var(--primary);
  background: var(--admin-bg);
  border-left-color: var(--primary);
}

.admin-nav-item.active a svg { color: var(--primary); }

.admin-logout { padding: 0 24px; }

.admin-logout a {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #dc2626;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: var(--transition-fast);
  cursor: pointer;
}

.admin-logout a:hover { opacity: 0.8; }

.admin-main {
  flex-grow: 1;
  margin-left: 240px;
  padding: 40px 48px;
}

.admin-page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--admin-border);
  margin-bottom: 36px;
}

.admin-page-header h1 { font-size: 28px; color: var(--admin-text); }
.admin-page-header span { font-size: 14px; color: var(--admin-text-muted); display: block; margin-top: 4px; font-weight: 400; }

.admin-section { display: none; }
.admin-section.active { display: block; }

.admin-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.search-bar { position: relative; max-width: 280px; width: 100%; }

.search-bar input {
  width: 100%;
  padding: 10px 16px 10px 40px;
  background: var(--admin-card);
  border: 1px solid var(--admin-border);
  color: var(--admin-text);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 13px;
  outline: none;
  transition: border-color 0.2s;
}

.search-bar input:focus { border-color: var(--primary); }

.search-bar svg {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--admin-text-muted);
  width: 15px;
  height: 15px;
}

.admin-table-wrap {
  background: var(--admin-card);
  border: 1px solid var(--admin-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

table.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

table.admin-table th {
  background: var(--admin-table-hdr-bg);
  padding: 14px 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--admin-text-muted);
  border-bottom: 1px solid var(--admin-border);
}

table.admin-table td {
  padding: 16px 20px;
  font-size: 13px;
  color: var(--admin-text);
  border-bottom: 1px solid var(--admin-border);
  vertical-align: middle;
}

table.admin-table tr:last-child td { border-bottom: none; }
table.admin-table tr:hover td { background: var(--admin-tr-hover); }

.td-img {
  width: 56px;
  height: 42px;
  border-radius: 6px;
  object-fit: cover;
  background: var(--admin-border);
}

.td-actions { display: flex; gap: 10px; }

.btn-icon {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--admin-border);
  cursor: pointer;
  transition: var(--transition-fast);
  background: var(--admin-card);
}

.btn-icon-edit { color: #2563eb; }
.btn-icon-edit:hover { background: rgba(37,99,235,0.06); }
.btn-icon-delete { color: #dc2626; }
.btn-icon-delete:hover { background: rgba(220,38,38,0.06); }

.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
}

.status-active { background: rgba(16,185,129,0.1); color: #15803d; }
.status-inactive { background: rgba(239,68,68,0.1); color: #b91c1c; }

.resume-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.resume-link:hover { text-decoration: underline; }

/* --- Admin Modal --- */
.admin-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(15,23,42,0.6); /* Semi-transparent backdrop */
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow-y: auto;
}

.admin-modal.active { display: flex; }

.admin-modal-box {
  background: var(--admin-card);
  border: 1px solid var(--admin-border);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 600px;
  padding: 36px 36px 24px 36px;
  position: relative;
  box-shadow: var(--shadow-lg);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.admin-modal-box h2 {
  font-size: 20px;
  color: var(--admin-text);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--admin-border);
}

.admin-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--admin-text-muted);
  cursor: pointer;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  border-radius: 6px;
  transition: var(--transition-fast);
}

.admin-modal-close:hover {
  background: var(--admin-bg);
  color: var(--admin-text);
}

.admin-modal-box form {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.admin-modal-box label { color: var(--admin-text); font-size: 13px; font-weight: 600; display: block; margin-bottom: 6px; }

.admin-modal-box .form-control {
  width: 100%;
  padding: 10px 14px;
  background: var(--admin-card);
  border: 1px solid var(--admin-border);
  color: var(--admin-text);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 13.5px;
  outline: none;
  transition: border-color 0.2s;
}

.admin-modal-box .form-control:focus { border-color: var(--primary); }

.admin-modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--admin-border);
  flex-shrink: 0;
}

/* --- File Upload --- */
.file-upload-wrapper {
  border: 2px dashed var(--admin-border);
  background: var(--admin-bg);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

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

.admin-modal-box .file-upload-wrapper {
  border-color: var(--admin-border);
}

.file-upload-wrapper input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.file-upload-icon { color: var(--admin-text-muted); margin-bottom: 8px; }
.file-upload-text { font-size: 13px; color: var(--admin-text-muted); }
.file-upload-text span { color: var(--primary); font-weight: 600; }
.file-upload-name { font-size: 12px; color: var(--primary); font-weight: 600; margin-top: 6px; display: none; }

/* Partners / Trusted By */
.partners-marquee-container {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 24px 0;
  border-top: 1px solid var(--light-border);
  border-bottom: 1px solid var(--light-border);
}

.partners-marquee-container::before,
.partners-marquee-container::after {
  content: "";
  position: absolute;
  top: 0;
  width: 120px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.partners-marquee-container::before {
  left: 0;
  background: linear-gradient(to right, #ffffff 20%, rgba(255, 255, 255, 0));
}

.partners-marquee-container::after {
  right: 0;
  background: linear-gradient(to left, #ffffff 20%, rgba(255, 255, 255, 0));
}

.partners-marquee-track {
  display: flex;
  width: max-content;
  gap: 72px;
  align-items: center;
  animation: marquee-scroll 35s linear infinite;
}

.partners-marquee-track:hover {
  animation-play-state: paused;
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.partner-logo {
  height: 54px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.partner-logo:hover {
  transform: scale(1.06);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr 1fr; }
  .about-side-col { display: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .jobs-grid-bcc { grid-template-columns: repeat(2, 1fr); }
  .why-work-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid-bcc { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .section { padding: 72px 0; }
  
  header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: #ffffff;
    border-bottom: 1px solid var(--light-border);
    box-shadow: var(--shadow-sm);
    padding: 10px 0;
  }

  header.transparent,
  header.solid {
    background-color: #ffffff;
  }

  .hamburger { display: block; }
  .nav-links { 
    position: fixed;
    top: 70px; left: -100%;
    width: 100%; height: calc(100vh - 70px);
    background: #ffffff;
    flex-direction: column;
    padding: 32px 20px;
    gap: 20px;
    transition: left 0.3s ease;
    box-shadow: var(--shadow-lg);
    align-items: flex-start;
  }
  .nav-links.active { left: 0; }
  .nav-cta { display: none; }
  .nav-cta-mobile { display: block; }

  .hero-home {
    height: auto;
    min-height: 0;
    position: relative;
    width: 100%;
    background-color: var(--dark-bg);
  }

  .hero-video-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background-color: #000;
  }

  .hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .hero-content-wrapper { display: none; }
  .hero-stamp { display: none; }

  .hero-cta-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 18px 16px;
    background-color: #ffffff;
    border-bottom: 1px solid var(--light-border-md);
    box-shadow: var(--shadow-sm);
  }

  .hero-cta-bar .btn {
    padding: 12px 32px;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-full);
  }

  .about-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  .jobs-grid-bcc { grid-template-columns: 1fr; }
  .why-work-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid-bcc { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .faq-layout { grid-template-columns: 1fr; gap: 32px; }
  .section-heading { font-size: 32px; }
  .hero-careers h1 { font-size: 40px; }
  .admin-main { margin-left: 0; padding: 20px; }
  .admin-sidebar { display: none; }
}

@media (max-width: 480px) {
  .hero-h1 { font-size: 28px; }
  .hero-desc { font-size: 13px; }
  .otp-input { width: 40px; height: 50px; font-size: 18px; }
  .why-work-grid { grid-template-columns: 1fr; }
}
