/* -------------------------------------------------- */
/* BRAND IMPORTS (LOGO-ALIGNED TYPOGRAPHY)            */
/* -------------------------------------------------- */

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

/* -------------------------------------------------- */
/* BRAND VARIABLES (EXTRACTED FROM YOUR LOGO)         */
/* -------------------------------------------------- */

:root {
  --brand-dark: #2a1f3d;        /* deep purple/charcoal */
  --brand-orange: #da7105;      /* electric orange */
  --brand-teal: #1fa7a0;        /* teal accent */
  --brand-pink: #e84c8b;        /* hot pink accent */
  --brand-yellow: #fdcf4c;      /* highlight yellow */
  --brand-white: #ffffff;

  --font-display: "Poppins", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, sans-serif;

  --radius-card: 12px;
  --radius-pill: 9999px;

  --shadow-soft: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-medium: 0 6px 30px rgba(0,0,0,0.12);

  --max-width: 1100px;
}

/* -------------------------------------------------- */
/* GLOBAL RESET                                        */
/* -------------------------------------------------- */

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

body {
  margin: 0;
  background: var(--brand-white);
  color: var(--brand-dark);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* -------------------------------------------------- */
/* GLOBAL LAYOUT                                       */
/* -------------------------------------------------- */

section {
  max-width: var(--max-width);
  margin: auto;
  padding: 60px 20px;
}

/* -------------------------------------------------- */
/* LOGOS                                          */
/* -------------------------------------------------- */

.nav-logo img {
  height: 126px;
  width: auto;
  vertical-align: middle;
  margin-right: 20px;
}

.hero-logo {
  height: 270px;
  width: auto;
  margin-bottom: 20px;
}

.footer-logo img {
  height: 108px;
  width: auto;
  opacity: 0.85;
  margin-bottom: 10px;
}

.section-logo {
  height: 60px;
  width: auto;
  margin-bottom: 20px;
  opacity: 0.9;
}

.portfolio-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  height: 300px;
  width: auto;
  opacity: 0.05;
  transform: translate(-50%, -50%);
  pointer-events: none;
}


/* -------------------------------------------------- */
/* NAVIGATION                                          */
/* -------------------------------------------------- */

nav {
  background: var(--brand-dark);
  padding: 18px 0;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 100;
}

nav a {
  color: var(--brand-white);
  margin: 0 18px;
  text-decoration: none;
  font-weight: 600;
  font-family: var(--font-display);
  position: relative;
  transition: color 0.2s ease;
}

nav a:hover {
  color: var(--brand-orange);
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background: var(--brand-orange);
  transition: width 0.25s ease;
}

nav a:hover::after {
  width: 100%;
}

/* -------------------------------------------------- */
/* HEADER / HERO                                       */
/* -------------------------------------------------- */

header {
  background: linear-gradient(135deg, var(--brand-dark), #1a1428);
  color: var(--brand-white);
  padding: 100px 20px;
  text-align: center;
}

header h1 {
  font-family: var(--font-display);
  font-size: 48px;
  margin-bottom: 10px;
  font-weight: 700;
}

header p {
  font-size: 20px;
  opacity: 0.9;
}

/* -------------------------------------------------- */
/* BUTTONS                                             */
/* -------------------------------------------------- */

.btn,
button,
.fs-button {
  background: var(--brand-orange);
  color: var(--brand-white);
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.15s ease;
}

.btn:hover,
button:hover,
.fs-button:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
}

/* -------------------------------------------------- */
/* CARD COMPONENTS                                     */
/* -------------------------------------------------- */

.card {
  background: var(--brand-white);
  border-radius: var(--radius-card);
  padding: 30px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-medium);
}

/* -------------------------------------------------- */
/* CONTACT FORM (FORMSPREE)                            */
/* -------------------------------------------------- */

.contact-container {
  background: var(--brand-white);
  padding: 40px;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
}

.contact-container h2 {
  font-family: var(--font-display);
  font-size: 32px;
  margin-bottom: 10px;
}

.contact-container p {
  color: #555;
  margin-bottom: 25px;
}

/* Formspree fields */
.fs-form {
  display: grid;
  row-gap: 1.5rem;
}

.fs-field {
  display: flex;
  flex-direction: column;
  row-gap: 0.5rem;
}

.fs-label {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--brand-dark);
}

.fs-input,
.fs-textarea {
  border-radius: 10px;
  border: 1px solid #ddd;
  padding: 14px;
  font-size: 16px;
  background: #fafafa;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.fs-input:focus,
.fs-textarea:focus {
  border-color: var(--brand-orange);
  background: var(--brand-white);
  outline: none;
}

.fs-description {
  color: #666;
  font-size: 14px;
}

/* -------------------------------------------------- */
/* FOOTER                                              */
/* -------------------------------------------------- */

footer {
  background: var(--brand-dark);
  color: var(--brand-white);
  text-align: center;
  padding: 30px 20px;
  margin-top: 60px;
  font-family: var(--font-display);
  font-size: 16px;
}

/* -------------------------------------------------- */
/* ANIMATIONS                                          */
/* -------------------------------------------------- */

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease forwards;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* -------------------------------------------------- */
/* METHODOLOGY DIAGRAM                                */
/* -------------------------------------------------- */

.methodology-diagram {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.method-step {
  background: var(--brand-white);
  border-radius: var(--radius-card);
  padding: 25px;
  width: 220px;
  box-shadow: var(--shadow-soft);
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.method-step:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-medium);
}

.method-icon {
  font-size: 40px;
  margin-bottom: 10px;
}

.method-arrow {
  font-size: 32px;
  color: var(--brand-orange);
  font-weight: bold;
}

/* -------------------------------------------------- */
/* FLOATING CTA BUTTON                                 */
/* -------------------------------------------------- */

.floating-cta {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: var(--brand-orange);
  color: var(--brand-white);
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  transition: background 0.25s ease, transform 0.2s ease;
  z-index: 999;
}

.floating-cta:hover {
  background: var(--brand-dark);
  transform: translateY(-3px);
}

/* Right‑aligned special nav link */
.nav-right {
  margin-left: auto;
  font-weight: 700;
  color: var(--brand-orange);
}

.nav-right:hover {
  color: var(--brand-white);
}

/* Navigation layout upgrade */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Group of main links */
.nav-links {
  display: flex;
  gap: 18px;
}

/* Special right‑side link */
.nav-special {
  margin-left: auto;
  font-weight: 700;
  color: var(--brand-orange);
}

.nav-special:hover {
  color: var(--brand-white);
}

/* Accent Pill for the right‑side nav link */
.nav-special {
  margin-left: auto;
  padding: 6px 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 700;
  color: var(--brand-orange);
  transition: background 0.3s ease, color 0.3s ease;
}

.nav-special:hover {
  background: var(--brand-orange);
  color: var(--brand-white);
}

/* Accent Pill + Glow Pulse Hover */
.nav-special {
  margin-left: auto;
  padding: 6px 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 700;
  color: var(--brand-orange);
  transition: 
    background 0.3s ease,
    color 0.3s ease,
    box-shadow 0.3s ease;
}

.nav-special:hover {
  background: var(--brand-orange);
  color: var(--brand-white);
  box-shadow: 0 0 12px rgba(255, 140, 0, 0.6);
}

/* ============================
   COLLECTIV MEDIA — MOBILE NAV
   ============================ */

/* Default: hide hamburger on desktop */
.cm-mobile-menu-btn {
  display: none !important;
}

/* MOBILE BREAKPOINT — expanded to 1200px */
@media (max-width: 1200px) {

  nav {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 14px 18px !important;
    position: sticky;
    top: 0;
    z-index: 1000;
  }

  .cm-mobile-menu-btn {
    all: unset;
    display: flex !important;
    flex-direction: column;
    justify-content: space-between;
    width: 32px;
    height: 22px;
    cursor: pointer;
    margin-left: auto;
    z-index: 1001;
  }

  .cm-mobile-menu-btn span {
    display: block;
    height: 3px;
    width: 100%;
    background: var(--brand-white);
    border-radius: 3px;
    transition: 0.3s ease;
  }

  nav .nav-links {
    all: unset;
    position: fixed !important;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 260px;
    background: var(--brand-dark);
    padding-top: 80px;
    padding-left: 20px;
    display: flex !important;
    flex-direction: column !important;
    gap: 22px;
    transition: right 0.35s ease;
    z-index: 1000;
    box-shadow: -4px 0 12px rgba(0,0,0,0.4);
  }

  nav .nav-links.open {
    right: 0 !important;
  }

  nav .nav-links a {
    display: block !important;
    font-size: 20px !important;
    padding: 6px 0;
    color: var(--brand-white) !important;
  }

  .nav-special {
    display: none !important;
  }

  .cm-mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  .cm-mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
  }
  .cm-mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
}
