/*
Theme Name: TMT Enterprise Theme
Author TOKENSAuthor: Sangram Aglave
================================ */

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

:root {
  --primary: #0b2545;
  --accent: #0066cc;
  --light: #f4f6f8;
  --text: #1a1a1a;
  --muted: #6b7280;
  --border: #e2e6ea;
}


/* ================================
   BASE
================================ */

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: #ffffff;
}

.container {
  max-width: 1180px;
  margin: auto;
  padding: 0 20px;
}

/* ================================
   TYPOGRAPHY
================================ */

h1 {
  font-size: 40px;
  font-weight: 600;
  color: var(--primary);
}

h2 {
  font-size: 28px;
  margin-bottom: 20px;
  color: var(--primary);
}

h3 {
  font-size: 18px;
  color: var(--primary);
}

p {
  color: #2e2d2d;
  line-height: 1.6;
}


/* ================================
   NAVBAR
================================ */

.nav {
  border-bottom: 1px solid var(--border);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo a {
  font-size: 20px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
}

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

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 25px;
  margin: 0;
}

.main-nav a {
  text-decoration: none;
  color: var(--text);
}

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

/* ================================
   DROPDOWN MENU
================================ */

.main-nav .menu li {
  position: relative;
}

.main-nav .menu li ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid var(--border);
  min-width: 220px;
  padding: 8px 0;
  z-index: 999;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.main-nav .menu li:hover > ul {
  display: block;
}

.main-nav .menu li ul li {
  padding: 10px 20px;
}

.main-nav .menu li ul li a {
  font-size: 13px;
  color: var(--text);
}

.main-nav .menu li ul li a:hover {
  color: var(--primary);
}


/* ================================
   BUTTONS
================================ */

.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 4px;
  border: 1px solid var(--primary);
  background: var(--primary);
  color: #ffffff;
  text-decoration: none;
}

.btn:hover {
  background: #163a66;
}

.btn.secondary {
  background: transparent;
  color: var(--primary);
}


/* ================================
   HERO
================================ */

.hero {
  background: #f8fafc;
  padding: 100px 20px;
}

.hero h1 {
  margin-bottom: 10px;
}

.hero .btn {
  margin-top: 15px;
}


/* ================================
   SECTIONS
================================ */

.section {
  padding: 80px 0;
  background: #ffffff;
}

.section.light {
  background: var(--light);
}

.section h2 {
  margin-bottom: 20px;
}


/* ================================
   GRID + CARDS
================================ */

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

.card {
  background: #ffffff;
  border: 1px solid var(--border);
  padding: 22px;
  color: #333;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
  transition: 0.3s;
}

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


/* ================================
   INSIGHT
================================ */

.insight {
  border-left: 3px solid var(--primary);
  padding-left: 12px;
  margin: 15px 0;
  color: var(--muted);
}


/* ================================
   STRIP CTA
================================ */

.strip {
  background: var(--primary);
  color: #fff;
  text-align: center;
  padding: 60px 20px;
}

.strip h2 {
  color: #fff;
}

.strip p {
  color: #d1d5db;
}


/* ================================
   TECH GRID
================================ */

.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}


.tech-card {
  display: flex;
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  margin-bottom: 25px;
}



.tech-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}


/* IMAGE */
.tech-photo {
  flex: 0 0 180px;
  height: 100%;
  overflow: hidden;
}

.tech-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* INFO */
.tech-info {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

/* TITLE */
.tech-info h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #1e293b;
}

/* BIO */
.tech-bio {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 12px;
  line-height: 1.5;
}

/* OUTCOMES TAGS */
.tech-outcomes {
  margin-bottom: 12px;
}

.tech-outcomes span {
  display: inline-block;
  background: #f1f5f9;
  color: #334155;
  font-size: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  margin-right: 6px;
  margin-bottom: 6px;
}

/* SOCIAL ICONS */
.tech-social {
  margin-top: 10px;
  margin-bottom: 15px;
}

.tech-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  margin-right: 8px;
  color: rgb(1, 92, 230);
  font-size: 30px;
  transition: all 0.25s ease;
}

/* BRAND COLORS */
.tech-social a.linkedin {
  background: #0077b5;
}

.tech-social a.twitter {
  background: #1da1f2;
}

.tech-social a.github {
  background: #111827;
}

.tech-social a.website {
  background: #10b981;
}

/* HOVER EFFECT */
.tech-social a:hover {
  transform: scale(1.1);
  opacity: 0.9;
}

/* ACTION BUTTONS */
.tech-actions {
  margin-top: auto;
}

.tech-actions .btn {
  display: inline-block;
  padding: 10px 16px;
  font-size: 14px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.25s ease;
}

/* PRIMARY BUTTON */
.tech-cta {
  background: #2563eb;
  color: #fff;
  margin-right: 10px;
}

.tech-cta:hover {
  background: #1e40af;
}

/* SECONDARY BUTTON */
.tech-actions .secondary {
  background: #e2e8f0;
  color: #1e293b;
}

.tech-actions .secondary:hover {
  background: #cbd5f5;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .tech-card {
    flex-direction: column;
  }

  .tech-photo {
    width: 100%;
    height: 200px;
  }

  .tech-info {
    padding: 15px;
  }
}


/* ================================
   PROFILE
================================ */

.profile-header {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  margin-bottom: 40px;
}

.profile-section {
  margin-bottom: 50px;
}


/* ================================
   FOOTER
================================ */

/* ================================
   FOOTER (CLEAN + STABLE)
================================ */

.footer {
  background: var(--primary);
  color: #ffffff;
  padding: 60px 20px 20px;
}

/* GRID LAYOUT */
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 30px;
}

/* COLUMN TITLES */
.footer-col h3 {
  margin-bottom: 15px;
  color: #ffffff;
  font-size: 16px;
}

/* TEXT */
.footer-col p {
  color: #cbd5e1;
  font-size: 14px;
  line-height: 1.6;
}

/* LIST RESET */
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 8px;
}

/* LINKS */
.footer-col a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 14px;
}

.footer-col a:hover {
  color: #ffffff;
}

/* CTA BUTTON */
.footer-col .btn {
  margin-top: 10px;
  background: transparent;
  border: 1px solid #ffffff;
  color: #ffffff;
}

.footer-col .btn:hover {
  background: #ffffff;
  color: var(--primary);
}

/* BOTTOM STRIP */
.footer-bottom {
  border-top: 1px solid #334155;
  padding-top: 20px;
  text-align: center;
  font-size: 13px;
  color: #ffffff;
}


.trademark {
  font-size: 13px;
  color: #ffffff;
  margin-top: 10px;
}
/* ================================
   MODAL
================================ */

/* ===== MODAL OVERLAY ===== */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 42, 91, 0.4); /* deep blue overlay */
  display: none; /* toggle via JS */
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* Show modal (add this class via JS) */
.modal.active {
  display: flex;
}

/* ===== MODAL BOX ===== */
.modal-content {
  width: 90%;
  max-width: 420px;
  background: #ffffff;
  border-radius: 6px;
  padding: 30px 28px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  animation: modalFade 0.3s ease;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ===== HEADING ===== */
.modal-content h3 {
  font-size: 20px;
  font-weight: 600;
  color: #0B2A5B; /* consulting navy */
  margin-bottom: 8px;
}

/* Optional subtext */
.modal-content p {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 18px;
}

/* ===== FORM ===== */
#resourceForm {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ===== INPUT FIELDS ===== */
#resourceForm input {
  width: 100%;
  padding: 11px 12px;
  font-size: 14px;
  border: 1px solid #d0d7e2;
  border-radius: 4px;
  background: #fff;
  transition: all 0.2s ease;

  box-sizing: border-box; /* ✅ THIS FIXES YOUR ISSUE */
}

/* Placeholder */
#resourceForm input::placeholder {
  color: #8a94a6;
}

/* Focus state */
#resourceForm input:focus {
  border-color: #003A8F;
  box-shadow: 0 0 0 2px rgba(0, 58, 143, 0.08);
  outline: none;
}

/* ===== BUTTON ===== */
#resourceForm button {
  margin-top: 10px;
  padding: 12px;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  background-color: #003A8F;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.25s ease;
}

/* Hover */
#resourceForm button:hover {
  background-color: #0055CC;
}

/* Active */
#resourceForm button:active {
  background-color: #0B2A5B;
}

/* ===== CLOSE BUTTON (optional) ===== */
.modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  font-size: 18px;
  color: #6b7280;
  cursor: pointer;
  transition: color 0.2s ease;
}

.modal-close:hover {
  color: #0B2A5B;
}

/* ===== ANIMATION ===== */
@keyframes modalFade {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== MOBILE OPTIMIZATION ===== */
@media (max-width: 480px) {
  .modal-content {
    padding: 22px 18px;
  }

  .modal-content h3 {
    font-size: 18px;
  }
}


/* ================================
   RESPONSIVE
================================ */

@media (max-width: 768px) {

  .nav-container {
    flex-direction: column;
    gap: 10px;
  }

  .main-nav ul {
    flex-direction: column;
  }

  .profile-header {
    grid-template-columns: 1fr;
  }

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


/* ================================
   TECHONAUT DOMAIN (OUTCOMES)
================================ */

/* SECTION */
.technonaut-domains {
  background: #ffffff;
  padding-top: 40px;
}

/* HEADING */
.technonaut-domains h2 {
  margin-bottom: 20px;
  color: var(--primary);
}

/* GRID */
.technonaut-domains .outcome-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
  align-items: center;
}

/* TAG (PILL STYLE) */
.technonaut-domains .outcome-card {
  display: inline-block;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;

  padding: 6px 14px;
  font-size: 13px;
  line-height: 1.4;

  border-radius: 999px;
  color: var(--primary);

  white-space: nowrap;
  cursor: default;

  transition: all 0.2s ease;
}

/* HOVER */
.technonaut-domains .outcome-card:hover {
  background: #e2e8f0;
  border-color: #cbd5e1;
}

/* ACTIVE STATE (FUTURE USE) */
.technonaut-domains .outcome-card.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .technonaut-domains .outcome-grid {
    gap: 10px;
  }

  .technonaut-domains .outcome-card {
    font-size: 12px;
    padding: 5px 12px;
  }
}

/* ================================
   FLOW SYSTEM (FIXED ARROWS)
================================ */

.flow-horizontal {
  display: flex;
  align-items: stretch;          /* ✅ FIX: equal heights */
  justify-content: space-between;
  gap: 40px;
  margin-top: 40px;
}

/* STEP */
.flow-step {
  flex: 1;
  position: relative;

  display: flex;                 /* ✅ ensures child fills height */
}

/* BOX */
.step-box {
  background: #ffffff;
  border: 1px solid var(--border);
  padding: 20px;
  text-align: left;
  position: relative;
  z-index: 2;

  flex: 1;                       /* ✅ fill full height */
  display: flex;                 /* ✅ internal alignment */
  flex-direction: column;
  justify-content: top;       /* ✅ vertical centering */
}

/* LINE */
.flow-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -20px;

  width: 40px;
  height: 2px;

  background: #cbd5e1;
  transform: translateY(-50%);
  z-index: 1;
}

/* ARROW TIP */
.flow-step:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 50%;
  right: -25px;

  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 8px solid #cbd5e1;

  transform: translateY(-50%);
  z-index: 1;
}

.footer {
  padding: 20px 20px 15px; /* reduced from 60px */
}

.footer-grid {
  gap: 30px;             /* reduce spacing between columns */
  margin-bottom: 20px;   /* tighten bottom spacing */
}

.footer-col h3 {
  margin-bottom: 10px;   /* was 14–15px */
}

.footer-col p {
  margin-bottom: 10px;
}

.footer-col ul li {
  margin-bottom: 6px;    /* was 8px */
}


.nav-cta {
  margin-left: auto;
  display: flex;
  align-items: center;
}

.nav-cta .btn {
  display: inline-block;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px; /* more corporate than pill */
  color: #ffffff;
  background-color: #003A8F; /* McKinsey blue */
  transition: all 0.25s ease;
}

/* Hover */
.nav-cta .btn:hover {
  background-color: #0055CC;
  transform: translateY(-1px);
}

/* Active */
.nav-cta .btn:active {
  background-color: #0B2A5B;
  transform: translateY(0);
}