/* =========================================================
   OpsInnovation - Rebuilt from Approved Static Proof
   ========================================================= */

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

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

:root {
  --burgundy: #770737;
  --gold: #B49A67;
  --charcoal: #111;
  --slate: #4F5B66;
  --container: 1024px;
}

html {
  background: url('../assets/opsinno_background.png') center top / cover no-repeat fixed, #1a1a1a;
  min-height: 100%;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: #e6e6e6;
  line-height: 1.6;
  font-size: 15px;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.brand .wordmark {
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
}

.menu {
  display: flex;
  gap: 20px;
  align-items: center;
}

.menu a {
  color: #e6e6e6;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.menu a:hover {
  color: #fff;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  padding: 6px 12px;
  border-radius: 10px;
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  cursor: pointer;
  font-size: 0.95rem;
}

.btn-primary {
  background: linear-gradient(180deg, #ffd700 0%, #e6b800 40%, #c9a227 60%, #ffd700 100%);
  color: #151515;
  border: 1px solid #b38f00;
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.6),
              inset 0 -2px 4px rgba(0, 0, 0, 0.2),
              0 4px 8px rgba(0, 0, 0, 0.25);
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5);
}

.btn-primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.menu .btn-primary,
a.btn-primary {
  color: #000000 !important;
}

/* Hero */
.hero {
  position: relative;
  padding: 50px 20px;
  text-align: center;
  background: linear-gradient(135deg, rgba(119, 7, 55, 0.6), rgba(79, 91, 102, 0.5)), url('../assets/opsinno_hero-background.png') center/cover no-repeat;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero h1 {
  font-family: 'Rajdhani', Arial, sans-serif;
  font-size: clamp(2rem, 5vw, 2.8rem);
  color: #fff;
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.2;
}

.hero p {
  font-size: 1.05rem;
  color: #e6e6e6;
  max-width: 720px;
  margin: 0 auto 1.5rem;
  line-height: 1.6;
}

.tags {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.tag {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  color: #fff;
}

.actions {
  text-align: center;
}

/* Sections */
.section {
  padding: 20px 20px;
}

.eyebrow {
  color: #B49A67 !important;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 1.7rem;
  margin-bottom: 1rem;
  letter-spacing: 0.15em;
}

.section h2 {
  font-family: 'Rajdhani', Arial, sans-serif;
  color: #fff;
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.section p {
  color: #d6d6d6;
  line-height: 1.7;
  margin-bottom: 1rem;
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 12fr 400px;
  gap: 40px;
  align-items: start;
  margin-top: 2rem;
}

.about-text h2 {
  margin-top: 0;
}
.about-text p {
  color: #ffffff;
  font-size: 1.0rem;
}
.about-image img {
  width: 90%;
  max-width: 400px;
  height: auto;
  border-radius: 12px;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 2rem;
}

.card {
  background: #4F5B66;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

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

.card .pad {
  padding: 20px;
}

.card h3 {
  font-family: 'Rajdhani', Arial, sans-serif;
  color: #fff;
  margin: 0 0 0.75rem 0;
  font-size: 1.25rem;
  font-weight: 600;
}

.card p {
  color: #d6d6d6;
  font-size: 0.95rem;
  margin: 0;
}

/* Case Study */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 2rem;
}

.stats {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 1rem 0;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
}

.stat {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.9rem;
}

.notice {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 12px;
  margin-top: 2rem;
}

.notice strong {
  color: #fff;
  display: block;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.notice p {
  color: #d6d6d6;
  font-size: 0.9rem;
  margin: 0.5rem 0;
}

/* Bio Section */
.bio-grid {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 40px;
  align-items: start;
  margin-top: 2rem;
}

.bio-image img {
  width: 100%;
  max-width: 350px;
  height: auto;
  border-radius: 14px;
}

.bio-text h2 {
  margin-top: 0;
}

.bio-text p {
  color: #ffffff;
  font-size: 1.03rem;
}
/* Footer */
.footer {
  background: #0b0b0b;
  color: #e9e9e9;
  padding: 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.footer-left img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.footer-left strong {
  display: block;
  margin-bottom: 4px;
}

.footer-left p {
  margin: 0;
  font-size: 0.9rem;
  color: #c9c9c9;
}

.footer-center {
  flex: 1;
  text-align: center;
}

.footer-center small {
  color: #b9b9b9;
  font-size: 0.85rem;
}

.footer-right {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

/* Responsive Footer */
@media (max-width: 900px) {
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-left {
    flex-direction: column;
  }
  
  .footer-right {
    justify-content: center;
  }
}

/* Responsive */
@media (max-width: 900px) {
  .menu-toggle {
    display: inline-block;
  }
  
  .menu {
    display: none;
  }
  
  .menu.open {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 12px 0;
  }
  
  .about-grid,
  .bio-grid {
    grid-template-columns: 1fr;
  }
  
  .about-image img,
  .bio-image img {
    max-width: 100%;
  }
  
  .cards,
  .case-grid {
    grid-template-columns: 1fr;
  }
}
