* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #111827;
  background-color: #f3f4f6;
  overflow-x: hidden;
}

a {
  color: inherit;
}

.page-content {
  padding-top: 78px;
}

.section {
  padding: 4rem 6vw;
}

.section-alt {
  background: #e5e7eb;
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 2.5rem auto;
  text-align: center;
}

.section-heading h1,
.section-heading h2 {
  margin-bottom: 0.75rem;
}

.section-layout-two {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.centered-text {
  text-align: center;
}

.muted {
  color: #6b7280;
}

.small {
  font-size: 0.85rem;
}

/* HEADER */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0.7rem 6vw;
  background: linear-gradient(to right, rgba(15, 23, 42, 0.96), rgba(76, 29, 149, 0.9));
  border-bottom: 2px solid rgba(250, 204, 21, 0.9);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.7);
  color: #f9fafb;
  transition: padding 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.site-header.scrolled {
  padding-top: 0.4rem;
  padding-bottom: 0.4rem;
  background: linear-gradient(to right, rgba(15, 23, 42, 0.98), rgba(30, 64, 175, 0.98));
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.85);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: #fefce8;
}

.logo img {
  height: 40px;
  width: auto;
  border-radius: 999px;
  box-shadow: 0 0 18px rgba(250, 204, 21, 0.9);
}

.logo span {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  font-size: 0.95rem;
}

.main-nav a {
  text-decoration: none;
  color: #e5e7eb;
  opacity: 0.9;
  transition: opacity 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.main-nav a:hover {
  opacity: 1;
  color: #facc15;
  transform: translateY(-1px);
}

.btn-nav {
  padding: 0.45rem 1.2rem;
}

/* Ensure the header Contact CTA is always styled as a button (prevents plugin/core overrides). */
.main-nav a.btn-nav {
  background: #d4af37;
  color: #111827;
  opacity: 1;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.35);
}

.main-nav a.btn-nav:hover {
  background: #32cd32; /* grass green */
  color: #0f172a;
}

/* Hamburger */

/* Hamburger */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.2rem;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: #fefce8;
  margin: 4px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}


.hero-quick-contact {
  margin-top: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
}

.hero-inline-link {
  text-decoration: none;
  font-weight: 500;
  color: #fbbf24;
}

.hero-inline-link:hover {
  text-decoration: underline;
}

.hero-dot {
  opacity: 0.7;
}

@media (max-width: 640px) {
  .hero-quick-contact {
    flex-direction: row;
  }
}

/* HERO */
.hero {
  min-height: 100vh;
  padding: 6rem 6vw 4rem 6vw;
  display: flex;
  align-items: center;
  background-image:
    radial-gradient(circle at top left, rgba(250, 204, 21, 0.18), transparent 55%),
    radial-gradient(circle at bottom right, rgba(56, 189, 248, 0.25), transparent 55%),
    linear-gradient(130deg, #020617 0%, #111827 35%, #4c1d95 100%);
  color: #f9fafb;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(250, 204, 21, 0.9);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fefce8;
  background: rgba(15, 23, 42, 0.65);
  margin-bottom: 0.8rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 3.4vw, 3.2rem);
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #e5e7eb;
  max-width: 36rem;
}

.hero-cta {
  margin: 1.75rem 0 1.25rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-media {
  display: flex;
  justify-content: center;
}

.hero-card {
  max-width: 360px;
  width: 100%;
  border-radius: 1.5rem;
  overflow: hidden;
  /* Simplified to remove heavy outline and background frame */
  background: transparent;
  padding: 0;
  box-shadow: none;
}

.hero-card img {
  display: block;
  width: 100%;
  border-radius: 1.5rem;
}


/* Testimonials */
.testimonials-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
}

.testimonial-card {
  position: relative;
  padding-top: 1.6rem;
}

.testimonial-quote {
  font-style: italic;
  color: #111827;
}

.testimonial-meta {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #4b5563;
}

.testimonial-name {
  font-weight: 600;
  color: #111827;
}

.testimonial-role {
  font-size: 0.85rem;
}

/* Clients grid */
.clients-hero {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 2rem auto;
}

.clients-logo-grid {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
}

.client-logo-card {
  background: #ffffff;
  border-radius: 1.25rem;
  padding: 1.25rem 1rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.client-logo-card img {
  max-width: 140px;
  height: auto;
  display: block;
}

.client-logo-name {
  font-weight: 500;
  font-size: 0.95rem;
  color: #111827;
  text-align: center;
}

/* Floating WhatsApp button */
.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 1.3rem;
  border-radius: 999px;
  background: #d4af37;
  color: #111827;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.45);
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.15s ease, color 0.15s ease;
}

.floating-whatsapp:hover {
  background: #32cd32;
  color: #0f172a;
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.55);
}

.floating-whatsapp span {
  font-size: 1rem;
}

/* Cards and grids */
.card-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.75rem;
}

.card {
  background: #ffffff;
  border-radius: 1.25rem;
  padding: 1.75rem 1.6rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.07);
}

.card h2,
.card h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
}

.card p {
  margin: 0;
  color: #4b5563;
}

.card-package ul {
  padding-left: 1.1rem;
  margin: 0.75rem 0 0 0;
  color: #4b5563;
}

.card-package li + li {
  margin-top: 0.35rem;
}

.packages-grid .card-package {
  border-top: 4px solid #f97316;
}

.card-icon {
  width: 40px;
  height: 40px;
  border-radius: 1rem;
  margin-bottom: 1rem;
  background: #e5e7eb;
}

.card-icon-it {
  background: linear-gradient(135deg, #38bdf8, #4c1d95);
}
.card-icon-web {
  background: linear-gradient(135deg, #f97316, #facc15);
}
.card-icon-marketing {
  background: linear-gradient(135deg, #22c55e, #0ea5e9);
}
.card-icon-ai {
  background: linear-gradient(135deg, #4c1d95, #a855f7);
}

.steps-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.75rem;
}

.step {
  background: #ffffff;
  border-radius: 1.25rem;
  padding: 1.75rem 1.6rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.07);
  position: relative;
}

.step-number {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: linear-gradient(135deg, #fbbf24, #f97316);
  color: #111827;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}

/* Lists */
.tick-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tick-list li {
  position: relative;
  padding-left: 1.3rem;
  margin-bottom: 0.45rem;
  color: #374151;
}

.tick-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 0.8rem;
  color: #16a34a;
  line-height: 1.4;
}

.image-wrapper img {
  width: 100%;
  max-width: 460px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 1.5rem;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.55);
}

/* CTA Section */
.cta-section {
  background-image:
    linear-gradient(120deg, #4c1d95, #6d28d9);
  color: #f9fafb;
}

.cta-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}

.cta-inner h2 {
  margin-bottom: 0.5rem;
}

.cta-inner p {
  margin: 0;
  color: #e5e7eb;
  line-height: 1.6;
}

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-nav,
button,
input[type="submit"],
input[type="button"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.5rem;
  border-radius: 999px;
  border: none;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
  background: #d4af37;
  color: #111827;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.35);
}

.btn-primary:hover,
.btn-secondary:hover,
.btn-nav:hover,
button:hover,
input[type="submit"]:hover,
input[type="button"]:hover {
  background: #32cd32; /* grass green */
  color: #0f172a;
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.5);
}

.btn-large {
  padding-inline: 2.1rem;
  padding-block: 0.9rem;
  font-size: 1rem;
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* Contact */
.contact-layout {
  align-items: flex-start;
}

.contact-layout > * {
  min-width: 0;
}

.contact-form {
  background: #ffffff;
  border-radius: 1.25rem;
  padding: 1.75rem 1.6rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.07);
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.3rem;
  font-weight: 500;
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.6rem 0.7rem;
  border-radius: 0.6rem;
  border: 1px solid #d1d5db;
  font: inherit;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #4c1d95;
  box-shadow: 0 0 0 3px rgba(76, 29, 149, 0.15);
}

.contact-info {
  padding: 1rem 0;
}

/* Team */
.founder-photo-wrapper img {
  width: 280px;
  max-width: 100%;
  border-radius: 1.4rem;
  box-shadow: 0 22px 45px rgba(15, 23, 42, 0.7);
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.team-grid {
  align-items: stretch;
}

.team-card img {
  width: 96px;
  height: 96px;
  border-radius: 999px;
  object-fit: cover;
  display: block;
  margin-bottom: 0.75rem;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.35);
}

/* Blog */
.blog-meta {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6b7280;
  margin-top: 0;
  margin-bottom: 0.4rem;
}

.blog-post h2 {
  font-size: 1.1rem;
}

.blog-link {
  display: inline-flex;
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: #4c1d95;
  text-decoration: none;
}

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

.article-body {
  max-width: 760px;
  margin: 0 auto 2rem auto;
  line-height: 1.7;
  color: #374151;
}

.article-body h3 {
  margin-top: 1.6rem;
}

/* Footer */
.site-footer {
  padding: 2rem 6vw;
  background: #020617;
  color: #9ca3af;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
  font-size: 0.9rem;
}

.site-footer a {
  color: #e5e7eb;
}

.footer-social {
  margin-top: 0.9rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #e5e7eb;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.15s ease;
  flex: 0 0 auto;
  width: auto;
}

/* Defensive overrides in case optimization/plugins apply broad link rules in the footer. */
.site-footer .footer-social a {
  display: inline-flex !important;
  width: auto !important;
  max-width: max-content;
}

.footer-social a:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

.footer-social svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

@media (max-width: 520px) {
  /* Keep footer icons compact on mobile to avoid wide pills or awkward wrapping. */
  .footer-social a {
    padding: 0.45rem 0.6rem;
  }
  .footer-social a span {
    display: none;
  }
}

.portfolio-grid .card {
  min-height: 170px;
}

.inline-link {
  color: #4c1d95;
  text-decoration: none;
}

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

.testimonial-quote {
  font-style: italic;
}

.testimonial-name {
  margin-top: 0.75rem;
  font-weight: 500;
}

/* Quote calculator */
.quote-form {
  background: #ffffff;
  border-radius: 1.25rem;
  padding: 1.75rem 1.6rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.07);
}

.quote-result {
  background: #111827;
  color: #e5e7eb;
  border-radius: 1.25rem;
  padding: 1.75rem 1.6rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.5);
}

.quote-result-figure {
  font-size: 1.4rem;
  font-weight: 700;
}

.pricing-tag {
  margin-top: 0.9rem;
  color: #111827;
}

/* Responsive */
@media (max-width: 900px) {
  .section-layout-two,
  .hero-inner,
  .cta-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding-top: 6rem;
  }

  .hero-media {
    order: -1;
  }
}

@media (max-width: 780px) {
  .page-content {
    padding-top: 70px;
  }

  .main-nav {
    position: absolute;
    right: 6vw;
    top: 100%;
    margin-top: 0.4rem;
    background: rgba(15, 23, 42, 0.98);
    border-radius: 0.9rem;
    padding: 0.7rem 1.1rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
    min-width: 190px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.65);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    font-size: 0.9rem;
  }

  .site-header.nav-open .main-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  /* Make nav items align consistently in the mobile dropdown (including the Contact CTA). */
  .site-header.nav-open .main-nav a {
    width: 100%;
  }
  .site-header.nav-open .main-nav a.btn-nav {
    justify-content: center;
    margin-top: 0.25rem;
  }

  .menu-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
  }

  .site-header.nav-open .menu-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }
  .site-header.nav-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }
  .site-header.nav-open .menu-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }
}

@media (max-width: 640px) {
  .section {
    padding: 3rem 5vw;
  }

  .logo span {
    display: none;
  }

  .logo img {
    height: 34px;
  }

  .hero {
    padding-top: 5rem;
  }
}


/* ABOUT PAGE ENHANCEMENTS */
.section-about-hero {
  position: relative;
}

.about-heading p {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.about-tagline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(76, 29, 149, 0.2);
  background: rgba(249, 250, 251, 0.9);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #4b5563;
  margin-bottom: 0.75rem;
}

.about-hero-layout {
  align-items: center;
  margin-top: 1.5rem;
}

.about-story p {
  color: #374151;
}

.about-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.about-pill {
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: #e5e7eb;
  font-size: 0.8rem;
  color: #374151;
}

.about-hero-image img {
  max-width: 520px;
}

/* Values & stats */
.values-grid .card {
  min-height: 180px;
}

.stats-grid .stat-card {
  text-align: center;
}

.stat-number {
  font-size: 2.1rem;
  font-weight: 700;
  color: #4c1d95;
  margin-bottom: 0.2rem;
}

.stat-label {
  color: #4b5563;
  margin: 0;
}

/* Simple fade-up animation */
.fade-in-up {
  opacity: 0;
  transform: translateY(12px);
  animation: fadeInUp 0.6s ease forwards;
}

.fade-in-up:nth-child(2) {
  animation-delay: 0.08s;
}
.fade-in-up:nth-child(3) {
  animation-delay: 0.12s;
}

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

@media (max-width: 900px) {
  .about-hero-layout {
    margin-top: 1rem;
  }
  .about-hero-image img {
    max-width: 100%;
  }
}

/* Speaking & training section */
.speaking-section .speaking-layout {
  align-items: center;
}

.speaking-section .tick-list {
  margin-top: 0.75rem;
}

/* Stagger for multiple .fade-in-up elements */
.section .fade-in-up {
  animation-delay: 0.05s;
}
.section .fade-in-up:nth-child(2) {
  animation-delay: 0.12s;
}
.section .fade-in-up:nth-child(3) {
  animation-delay: 0.18s;
}


/* --- v16 tweaks: About team spacing & founder alignment --- */
.section-layout-two.founder-layout { 
  align-items: flex-start;
  margin-bottom: 2rem;
}

.founder-photo-wrapper img{
  margin-left: 0;
  margin-right: auto;
}

@media (max-width: 720px){
  .founder-photo-wrapper img{
    margin-left: auto;
    margin-right: auto;
  }
}

.team-grid{
  margin-top: 1.5rem;
}

/* Case studies: logo above heading */
.case-logo{
  width: 120px;
  max-width: 40%;
  height: auto;
  display: block;
  margin: 0 0 0.9rem 0;
}
