/* EmiOps — Enterprise Cloud & DevOps Consulting */
:root {
  --cyan: #00b4d8;
  --cyan-dark: #0096c7;
  --cyan-light: #90e0ef;
  --purple: #7b2cbf;
  --purple-light: #9d4edd;
  --orange: #f77f00;
  --dark: #1a1a2e;
  --dark-soft: #16213e;
  --gray: #4a5568;
  --gray-light: #e2e8f0;
  --white: #ffffff;
  --bg: #f0f4f8;
  --bg-warm: #f5f7fa;
  --accent-tint: #e8f4f8;
  --shadow: 0 4px 24px rgba(0, 180, 216, 0.1);
  --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.12);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--dark);
  background: var(--bg-warm);
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(245, 250, 253, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 180, 216, 0.15);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 120px;
  padding: 12px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--dark);
  font-weight: 700;
  font-size: 1.35rem;
}

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

.logo-text {
  display: none; /* Shown via onerror when logo.png is missing */
  font-size: 1.75rem;
}

.logo-ops {
  color: var(--purple);
}

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

.nav-links a {
  text-decoration: none;
  color: var(--gray);
  font-weight: 500;
  transition: color var(--transition);
}

.nav-links a:hover {
  color: var(--cyan-dark);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
}

.btn-nav {
  background: var(--cyan);
  color: var(--white);
}

.btn-nav:hover {
  background: var(--cyan-dark);
  color: var(--white);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--dark);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: auto;
  display: flex;
  align-items: center;
  padding: 132px 0 32px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 20% 80%, rgba(0, 180, 216, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(123, 44, 191, 0.08) 0%, transparent 50%);
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(232, 244, 248, 0.95) 0%, rgba(245, 247, 250, 0.98) 100%);
}

.hero-content {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.hero-title {
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.hero-lead {
  font-size: 1.2rem;
  color: var(--gray);
  margin-bottom: 6px;
  font-weight: 500;
}

.hero-desc {
  color: var(--gray);
  margin-bottom: 18px;
  max-width: 520px;
  line-height: 1.55;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

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

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

.btn-secondary {
  background: transparent;
  color: var(--cyan-dark);
  border: 2px solid var(--cyan);
}

.btn-secondary:hover {
  background: rgba(0, 180, 216, 0.08);
}

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

.tech-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.badge {
  padding: 8px 14px;
  background: var(--white);
  border: 1px solid rgba(0, 180, 216, 0.25);
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--cyan-dark);
  box-shadow: var(--shadow);
}

/* Services Section */
.services {
  padding: 32px 0;
  background: var(--bg);
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  text-align: center;
  color: var(--dark);
  margin-bottom: 6px;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 4px;
  background: linear-gradient(90deg, var(--cyan), var(--purple));
  border-radius: 2px;
  margin: 8px auto 0;
}

.section-subtitle {
  text-align: center;
  color: var(--gray);
  margin-bottom: 24px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 20px;
}

.service-card {
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-light);
  transition: all var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 180, 216, 0.2);
}

.service-icon {
  width: 44px;
  height: 44px;
  color: var(--cyan);
  margin-bottom: 12px;
}

.service-icon svg {
  width: 100%;
  height: 100%;
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 4px;
}

.service-tagline {
  font-size: 0.95rem;
  color: var(--cyan-dark);
  font-weight: 500;
  margin-bottom: 8px;
}

.service-desc {
  color: var(--gray);
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.service-deliverables h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
}

.service-deliverables ul {
  list-style: none;
  margin-bottom: 12px;
}

.service-deliverables li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 4px;
  color: var(--gray);
  font-size: 0.95rem;
}

.service-deliverables li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--cyan);
  font-weight: 600;
}

.service-outcome {
  padding: 12px;
  background: rgba(0, 180, 216, 0.08);
  border-radius: var(--radius);
  font-size: 0.95rem;
  color: var(--dark);
  border-left: 4px solid var(--cyan);
}

/* About Section */
.about {
  padding: 40px 0;
  background: var(--white);
}

.about-content {
  max-width: 720px;
  margin: 0 auto;
}

.about-lead {
  font-size: 1.1rem;
  color: var(--gray);
  margin-bottom: 12px;
  line-height: 1.6;
}

.about-expertise {
  margin-bottom: 12px;
}

.about-expertise h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
}

.about-expertise ul {
  list-style: none;
}

.about-expertise li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 4px;
  color: var(--gray);
}

.about-expertise li::before {
  content: '●';
  position: absolute;
  left: 0;
  color: var(--cyan);
  font-size: 0.75rem;
}

.about-mission,
.about-focus {
  color: var(--gray);
  margin-bottom: 10px;
  line-height: 1.6;
}

.about-focus strong {
  color: var(--cyan-dark);
}

/* Engagement Section */
.engagement {
  padding: 32px 0;
  background: var(--bg);
}

.engagement-options {
  max-width: 560px;
  margin: 0 auto 14px;
}

.engagement-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 1.1rem;
  color: var(--dark);
}

.engagement-bullet {
  color: var(--cyan);
  font-size: 1.25rem;
}

.engagement-note {
  text-align: center;
  color: var(--gray);
  font-style: italic;
}

/* Contact Section */
.contact {
  padding: 32px 0;
  background: var(--white);
}

.contact .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-lead {
  text-align: center;
  font-size: 1.1rem;
  color: var(--gray);
  margin-bottom: 18px;
}

.contact-info {
  text-align: center;
  margin-bottom: 18px;
  padding: 24px 40px;
  background: rgba(0, 180, 216, 0.04);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 180, 216, 0.12);
  width: 100%;
  max-width: 400px;
}

.contact-info p {
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.contact-info p:last-child {
  margin-bottom: 0;
}

.contact-info a {
  color: var(--cyan-dark);
  text-decoration: none;
  font-weight: 500;
}

.contact-info a:hover {
  text-decoration: underline;
}

.btn-contact {
  display: block;
  width: fit-content;
  margin: 0 auto;
}

/* Footer */
.footer {
  padding: 24px 0;
  background: var(--dark);
  color: var(--gray-light);
  text-align: center;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-ctas {
    justify-content: center;
  }

  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav.open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 120px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 24px;
    border-bottom: 1px solid var(--gray-light);
  }
}

@media (max-width: 600px) {
  .hero-ctas {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }
}
