@charset "utf-8";

/* =========================================================
   Base + Tokens
========================================================= */
:root {
  --bg:#ffffff; 
  --text:#222; 
  --muted:#555; 
  --navy:#0F1D3D; 
  --slate:#334155;
  --brand:#1976d2;      /* your existing blue */
  --brand-dark:#0d47a1; /* hover blue */
  --accent:#d32f2f;     /* your red accent */
  --border:#e5e7eb;
}

* { box-sizing: border-box; }
html, body { margin:0; padding:0; }
body {
  font-family: Arial, sans-serif;
  background:#f2f2f2;
  color:var(--text);
  line-height:1.6;
  text-align:center; /* you used center in original; we’ll override per-section where needed */
}

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

/* =========================================================
   Header / Nav (modern, optional)
========================================================= */
.site-header { position:sticky; top:0; z-index:10; background:#fff; border-bottom:1px solid #eee; }
.site-header .container { display:flex; align-items:center; justify-content:space-between; padding:14px 20px; }
.brand { font-weight:700; text-decoration:none; color:var(--text); }
.main-nav a { margin-left:16px; text-decoration:none; color:var(--text); }
.main-nav a:hover { color:var(--brand); }

/* If you want logo on right, flip row: */
/* .site-header .container { flex-direction: row-reverse; } */

/* =========================================================
   Buttons (reusable)
========================================================= */
.btn { display:inline-block; padding:0.75rem 1.25rem; border-radius:999px; text-decoration:none; font-weight:600; }
.btn-primary { background:var(--brand); color:#fff; }
.btn-primary:hover { background:var(--brand-dark); }
.btn-secondary { border:1px solid rgba(255,255,255,.45); color:#fff; background:transparent; }
.btn-secondary:hover { background:rgba(255,255,255,.1); }

/* =========================================================
   Sections
========================================================= */
.section { padding:64px 0; }
.section-alt { background:#fafafa; }

/* =========================================================
   HERO (Variant B: Abstract Gradient + Badge)
========================================================= */
/* HERO (correct path) */
.hero.hero--abstract{
  position: relative;
  background: url('../../images/cover-background.jpg') center/cover no-repeat;
  padding: clamp(80px, 15vh, 120px) 0 clamp(70px, 12vh, 100px);
  color: #fff;
  text-align: left;
}
/* Dark overlay for readability */
.hero.hero--abstract::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45); /* adjust darkness if needed */
  z-index: 0;
}
.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}
.hero--abstract h1 {
  color: #fff;
  font-size: clamp(28px, 5vw, 44px);
  margin: 0 0 10px;
}
.hero--abstract .lead {
  color: rgba(255,255,255,0.92);
  font-size: 1.1rem;
  max-width: 720px;
  margin: 0;
}

.hero-logo {
  position: absolute;
  top: 20px;
  right: 20px;
  height: 60px;
  width: auto;
  z-index: 2;
}



/* Focal-point controls for the hero background */
:root{
  --hero-x: 42%;  /* desktop: lean a bit left to include the bench + subject */
  --hero-y: 50%;
}

.hero.hero--abstract{
  background-position: var(--hero-x) var(--hero-y);
  background-size: cover;
  min-height: 56vh; /* keeps a nice window on short screens */
}

/* Laptop/tablet */
@media (max-width: 1024px){
  :root{ --hero-x: 55%; } /* pan right slightly */
}

/* Tablet / large phones */
@media (max-width: 768px){
  :root{ --hero-x: 70%; --hero-y: 55%; } /* center nearer the dog + subject */
}

/* Small phones */
@media (max-width: 480px){
  :root{ --hero-x: 78%; --hero-y: 60%; } /* keep the dog visible */
  .hero.hero--abstract{ min-height: 54vh; }
}

	
/* FEATURED PROJECTS — metallic cards */
.featured-projects {
  text-align: center;
  padding: clamp(48px, 10vh, 72px) 1rem;
  background:
    radial-gradient(1200px 600px at 50% -240px, rgba(255,255,255,0.06), transparent 60%),
    linear-gradient(180deg, #2a3b5f 0%, #465a80 50%, #2a3b5f 100%);
  background-color: #2a3b5f;
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(0,0,0,.25);

  /* Make all boxes the same height */
 
}	
	
.featured-projects h2 {
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.5px;
  background: linear-gradient(90deg, #ffffff, #b0d4ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 4px rgba(0,0,0,0.4);
  margin: 0 0 1rem;
}
/* Cards inside */
.featured-projects .project-card {
  flex: 1 1 300px; /* Responsive width */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
}

/* Brighter text inside cards */
.featured-projects .project-card p {
  color: #f0f0f0;
}

.featured-projects .project-card h3 {
  color: #ffffff;
}


.project-grid{
  display:grid !important;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  justify-items:center;
  align-items:start;
  margin-top:1.25rem;
}

/* Silver 3D card */
.project-card{
  position: relative;        /* needed for ::before/::after */
  display: block;            /* ensure width/height apply */
  overflow: hidden;          /* clip highlights to rounded corners */
  text-decoration: none;
  background: linear-gradient(145deg, #f2f2f2, #d9d9d9);
  border: 1px solid #cfd3da;
  border-radius: 1rem;
  padding: 1.1rem;
  max-width: 320px; width: 100%;
  color:#222;
  box-shadow:
    0 4px 8px rgba(0,0,0,.15),
    inset 0 1px 2px rgba(255,255,255,.6),
    inset 0 -1px 3px rgba(0,0,0,.10);
  transition: transform .25s ease, box-shadow .25s ease;
}

/* Soft metallic sheen */
.project-card::after{
  content:"";
  position:absolute; inset:0; pointer-events:none;
  background: linear-gradient(135deg,
    rgba(255,255,255,.18) 0%,
    rgba(255,255,255,.05) 35%,
    rgba(0,0,0,.04) 65%,
    rgba(0,0,0,.10) 100%);
  mix-blend-mode: soft-light;
  opacity:.6;
}

/* Brushed texture (very subtle) */
.project-card::before{
  content:"";
  position:absolute; inset:0; pointer-events:none;
  background: repeating-linear-gradient(90deg,
    rgba(255,255,255,.06) 0 1px,
    rgba(0,0,0,.04) 1px 2px);
  opacity:.07;
}

.project-card:hover{
  transform: translateY(-3px);
  box-shadow:
    0 8px 18px rgba(0,0,0,.22),
    inset 0 1px 3px rgba(255,255,255,.8),
    inset 0 -1px 4px rgba(0,0,0,.15);
}

.project-card img{
  width:100%;
  aspect-ratio: 16/9;
  object-fit:cover;
  border-radius:.8rem;
  margin-bottom:.8rem;
}

.project-card h3{ font-size:1.05rem; margin:.25rem 0 .15rem; font-weight:600; color:#000; }
.project-card p{ font-size:.92rem; line-height:1.55; color:#555; }




/* small screens: extra tightening */
@media (max-width: 480px){
  .project-grid{ gap: 1.1rem; }
  .project-card{ padding: 1rem; max-width: 300px; }
}


/* --- Maintenance section layout (matches merch style) --- */
.maintenance-section {
  text-align: center;
  padding: 3.5rem 2rem;
  background: #fff;
}

.maintenance-section h2 {
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: 2rem;
  margin: 0 0 0.5rem;
}

.maintenance-section p {
  color: #555;
  margin: 0 0 1.25rem;
}

/* Pull cards closer & equalize height */
.maintenance-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px; /* space between cards */
}
.maintenance-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  flex: 1;
  padding: 20px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  min-height: 320px; /* forces even card heights */
}

.maintenance-card {
  position: relative;
}

.maintenance-card .card-link {
  display: block;
  color: inherit;
  text-decoration: none;
  height: 100%;
  width: 100%;
}
.maintenance-card .card-link:hover {
  background-color: rgba(0,0,0,0.03); /* subtle hover effect */
}



/* Price line styling (optional) */
.plan-price{ font-weight:700; color:#0f1d3d; margin:.25rem 0 .75rem; }
.plan-price .amount{ font-size:1.15rem; margin-right:.15rem; }
.plan-price .per{ color:#607089; font-weight:600; }

/* Responsive stack */
@media (max-width: 900px){
  .maintenance-row{
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
  }
}


/* Section shell */
.pricing-section{
  padding: clamp(48px, 10vh, 80px) 1rem;
  background: linear-gradient(180deg, #f7f9fc, #eef3f8);
}
.pricing-section h2{
  text-align:center;
  font-size: clamp(2rem, 4vw, 2.6rem);
  margin: 0 0 .25rem;
}
.pricing-sub{ text-align:center; color:#556; margin:0 0 2rem; }


/* Layout */
.pricing-layout{
  display:grid;
  grid-template-columns: min(460px, 100%) minmax(280px, 1fr);
  gap: clamp(20px, 6vw, 48px);
  align-items:center;
  max-width: 1100px;
  margin: 0 auto;
}

/* Wheel */
.wheel{
  position: relative;
  display:grid;
  place-items:center;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 460px;
  margin: 0;
}
/* Make pricing single-column and hide the side card */
.pricing-layout{
  grid-template-columns: 1fr;
  justify-items: center;
}
.details{ display:none; }

/* Optional CTA under globe */
.pricing-cta{ margin-top: 16px; text-align:center; }





.wheel svg{ width:100%; height:auto; filter: drop-shadow(0 6px 20px rgba(0,0,0,.15)); }
.ring{ fill:#0f172a; opacity:.06; stroke:none; }
.slice path{
  fill: url(#grad, none);
  fill: linear-gradient(180deg, #e8ecf3, #cfd8e6);
  stroke: rgba(0,0,0,.08); stroke-width:.5;
}
.slice text{
  font: 600 9px/1 system-ui, sans-serif;
  fill:#223; text-anchor: middle;
}
.pointer{ fill:#3b5aa8; filter: drop-shadow(0 1px 3px rgba(0,0,0,.3)); }

/* Interactive: highlight selected via data-state on .wheel */
.wheel[data-active="starter"] g[data-plan="starter"] path,
.wheel[data-active="full"] g[data-plan="full"] path,
.wheel[data-active="nonprofit"] g[data-plan="nonprofit"] path,
.wheel[data-active="seo"] g[data-plan="seo"] path{
  fill: linear-gradient(180deg, #ffffff, #dfe7f4);
}

/* Invisible button overlay (for keyboard + screen readers) */
.slice-buttons{
  position:absolute; inset:0; display:grid;
  grid-template-areas:
    "top top"
    "left right";
  grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr;
}
.slice-buttons button{
  appearance:none; background:transparent; border:0;
  cursor:pointer; outline-offset:6px;
}
.slice-buttons button[data-plan="starter"]{ grid-area: top; }
.slice-buttons button[data-plan="full"]{ grid-area: right; }
.slice-buttons button[data-plan="nonprofit"]{ grid-area: bottom; }
.slice-buttons button[data-plan="seo"]{ grid-area: left; }

/* Details panel */
.details{
  background:#fff; border-radius:16px; padding: 20px 22px;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
}
.details .plan-title{ font-size:1.4rem; margin:.25rem 0 0; }
.plan-price{ font-weight:700; color:#2463eb; margin:.15rem 0 1rem; }
.plan-list{ margin:0 0 1.25rem 1rem; color:#334; line-height:1.6; }
.plan-list li{ margin:.25rem 0; }
.btn{
  display:inline-block; padding:.75rem 1.2rem; border-radius:999px;
  background:#2463eb; color:#fff; text-decoration:none; font-weight:600;
  box-shadow: 0 6px 18px rgba(36,99,235,.35);
}
.btn:hover{ transform: translateY(-1px); }

/* Motion respect */
@media (prefers-reduced-motion: reduce){
  .btn:hover{ transform:none; }
}

/* Stack on small screens */
@media (max-width: 820px){
  .pricing-layout{ grid-template-columns: 1fr; }
  .details{ order: 2; }
  .wheel{ order: 1; margin-inline: auto; max-width: 420px; }
}



/* --- About Section Layout --- */
.about-section {
  padding: 4rem 2rem;
  background: #fff;
}

.about-section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
}

.about-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
  flex-wrap: wrap; /* stacks on mobile */
}

.about-photo {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.about-text {
  flex: 1;
  min-width: 280px;
  text-align: left;
  line-height: 1.6;
}

.about-text p {
  margin-bottom: 1rem;
  color: #555;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .about-content {
    flex-direction: column;
    text-align: center;
  }
  .about-text {
    text-align: center;
  }
}

/* --- Footer --- */
.site-footer {
  background: linear-gradient(145deg, #0a0a0a, #1a1a1a); /* deep black metallic gradient */
  color: #e0e0e0;
  padding: 2rem 1rem;
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.6;
  border-top: 2px solid #333;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.5);
}

.site-footer p {
  margin: 0.5rem 0;
}

.site-footer a {
  color: #4dabf7; /* metallic blue accent */
  text-decoration: none;
  font-weight: 500;
}

.site-footer a:hover {
  color: #82cfff; /* lighter metallic blue */
}



/* --- Merch section (metallic + tight, fixed tiles) --- */
.merch-section{
  text-align:center;
  padding: 2rem 1.25rem;
  background:
    linear-gradient(180deg, rgba(255,255,255,.15), rgba(255,255,255,0)) 0 0/100% 100%, /* sheen */
    linear-gradient(145deg, #1d3c61 0%, #0f1d3d 100%) !important; /* metallic blue */
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(0,0,0,.25);
}

..merch-section h2{
  font-family:'Poppins',system-ui,sans-serif;
  font-size:2rem;
  margin:0 0 .4rem;
  color:#fff; /* white text for contrast */
}
.merch-section p{
  color:rgba(255,255,255,.85);
  margin:0 0 .8rem;
}

/* Use FLEX with fixed tile width for consistent, tight spacing */
.merch-row{
  display:flex !important;
  justify-content:center;
  align-items:flex-start;
  gap:.6rem;
  flex-wrap:wrap;
}

.merch-image-box{ width:180px; }    /* fixed tile width */

.merch-image-box a{ display:block; text-decoration:none; }

.merch-image-box img{
  width:100%;
  aspect-ratio:3/4;
  object-fit:contain;
  border-radius:12px;
  background:#fff;
  padding:.55rem;
  box-shadow:0 2px 8px rgba(0,0,0,.08);
  transition:transform .2s ease, box-shadow .2s ease;
}
.merch-image-box img:hover{
  transform:translateY(-2px);
  box-shadow:0 8px 16px rgba(0,0,0,.12);
}

@media (max-width:520px){
  .merch-image-box{ width:220px; }  /* slightly bigger on small screens */
}

/* ---- Metallic shimmer for merch section ---- */
.merch-section{
  position: relative; /* for the overlay */
  overflow: hidden;   /* hide shimmer edges */
}

/* moving sheen overlay */
.merch-section::before{
  content:"";
  position:absolute; inset:0;
  background:
    linear-gradient(120deg,
      rgba(255,255,255,0) 20%,
      rgba(255,255,255,.18) 35%,
      rgba(255,255,255,0) 50%) ;
  transform: translateX(-120%);
  animation: merchShimmer 9s linear infinite;
  pointer-events:none;
  mix-blend-mode: screen; /* keeps it subtle */
}

/* slow, continuous pass left→right */
@keyframes merchShimmer{
  0%   { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce){
  .merch-section::before{ animation: none; opacity: 0; }
}

/* Contact section – animated flag background */
/* Contact section – animated flag background (correct path) */
.contact-section.contact-flag{
  position: relative;
  padding-block: clamp(32px, 6vh, 50px);
  padding-inline: 20px;
  color: #fff;
  text-align: center;
  background: url('../../images/usa-flag-1.jpg') center/120% auto no-repeat;
  animation: flagScroll 22s ease-in-out infinite;
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(0,0,0,.25);
}
.contact-section.contact-flag::before{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,.55));
  pointer-events:none;
}

.contact-section.contact-flag .container{ position: relative; z-index: 1; }
.contact-section.contact-flag h2{ color:#fff; margin-bottom:.75rem; font-size: clamp(1.5rem, 2.5vw, 2rem); }
.contact-section.contact-flag p{ color: rgba(255,255,255,.9); font-size: clamp(.95rem, 2vw, 1.1rem); }
.contact-section.contact-flag a{ color:#cfe1ff; text-decoration: underline; }
.contact-section.contact-flag a:hover{ color:#e7f0ff; }

/* background-position animation for the “scrolling” feel */
@keyframes flagScroll{
  0%   { background-position:   0% 50%; }
  50%  { background-position: 100% 55%; }
  100% { background-position:   0% 50%; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  .contact-section.contact-flag{ animation: none; }
}

/* Responsive tweaks for the contact flag section */
@media (max-width: 768px){
/* Contact section – animated flag background */
.contact-section.contact-flag{
  position: relative;
  padding-block: clamp(32px, 6vh, 50px); /* top/bottom auto-scales */
  padding-inline: 20px;                  /* left/right fixed */
  color: #fff;
  text-align: center;
  background: url('../images/usa-flag-1.jpg') center/120% auto no-repeat;
  animation: flagScroll 22s ease-in-out infinite;
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(0,0,0,.25);
}

  .contact-section.contact-flag h2{
    font-size: 1.75rem;
    margin-bottom: .5rem;
  }
  .contact-section.contact-flag p{
    font-size: 1rem;
    line-height: 1.5;
    max-width: 38rem;                
    margin-inline: auto;
  }
}

@media (max-width: 480px){
  .contact-section.contact-flag{
    padding: 32px 14px;              
    background-size: 140% auto;      
    animation-duration: 30s;         
  }
  .contact-section.contact-flag h2{ font-size: 1.5rem; }
  .contact-section.contact-flag p{ font-size: .95rem; }
  .contact-section.contact-flag a{ word-break: break-word; }
}



/* Keep the badge directly under the CTAs */
.hero__actions{
  display:flex;
  flex-direction:column;
  align-items:flex-start;   /* left align to match hero text */
  gap:10px;                 /* space between buttons and badge */
  margin-top:14px;
}
.hero__ctas{ display:flex; gap:12px; flex-wrap:wrap; }
.hero__badge{ line-height:1; }          /* tight */
.us-badge{ display:inline-flex; gap:.5rem; align-items:center; }

/* Optional: center on small screens */
@media (max-width: 560px){
  .hero__actions{ align-items:flex-start; } /* or center if you prefer */
}



/* Equal-height pricing cards with bottom-aligned CTA */
.pricing-grid{
  display:grid !important;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:1.5rem;
  align-items:stretch;                 /* make tracks equal height */
}

.pricing-card{
  height:100%;
  display:flex;
  flex-direction:column;
  box-sizing:border-box;
}

.pricing-card ul{
  margin:.5rem 0 1rem;
  padding-left:1.25rem;
}
.pricing-card .card-cta{ margin-top:auto; }
.pricing-card .btn{
  display:inline-block;
  padding:.6rem 1rem;
  border-radius:999px;
  background:var(--brand);
  color:#fff;
  text-decoration:none;
  font-weight:600;
}
.pricing-card .btn:hover{ background:var(--brand-dark); }

/* optional: set a baseline min-height if you want them taller */
@media (min-width: 701px){
  .pricing-card{ min-height: 420px; }
}

.pricing-card .price {
  display: block;
  text-align: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 10px 0;
}

.pricing-card p {
  text-align: center;
}

.plan-price {
  margin: 0.5rem 0 1rem; /* consistent gap below price */
}

.plan-price .amount {
  font-size: 1.8rem;
  font-weight: bold;
  color: #1a73e8; /* or your blue */
}

.plan-price .per {
  font-size: 0.9rem;
  color: #777;
}

.note {
  margin-top: auto; /* pushes this line to bottom evenly */
  border-top: 1px solid rgba(0,0,0,0.1);
  padding-top: 0.5rem;
  font-size: 0.95rem;
}

/* If an old rule set a solid bg on #projects, neutralize it */
#projects { background: transparent; }

/* Metallic blue background for the section (wins on specificity) */
section#projects.featured-projects{
  text-align:center;
  padding: clamp(48px, 10vh, 72px) 1rem;
  background:
    radial-gradient(1200px 600px at 50% -240px, rgba(255,255,255,0.06), transparent 60%),
    linear-gradient(180deg, #2a3b5f 0%, #465a80 50%, #2a3b5f 100%);
  background-color:#2a3b5f;
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(0,0,0,.25);
}
/* Clear any old background on cards in this section */
section#projects.featured-projects .project-card { background: none; }

/* Silver 3D card — high-specificity so it wins */
section#projects.featured-projects .project-card{
  position: relative;
  display: block;
  overflow: hidden;
  text-decoration: none;
  background: linear-gradient(145deg, #f2f2f2, #d9d9d9); /* silver */
  border: 1px solid #cfd3da;
  border-radius: 1rem;
  padding: 1.1rem;
  max-width: 320px; width: 100%;
  color:#222;
  box-shadow:
    0 4px 8px rgba(0,0,0,.15),
    inset 0 1px 2px rgba(255,255,255,.6),
    inset 0 -1px 3px rgba(0,0,0,.10);
  transition: transform .25s ease, box-shadow .25s ease;
}

/* Sheen + brushed texture */
section#projects.featured-projects .project-card::after{
  content:""; position:absolute; inset:0; pointer-events:none;
  background: linear-gradient(135deg,
    rgba(255,255,255,.18) 0%,
    rgba(255,255,255,.05) 35%,
    rgba(0,0,0,.04) 65%,
    rgba(0,0,0,.10) 100%);
  mix-blend-mode: soft-light; opacity:.6;
}
section#projects.featured-projects .project-card::before{
  content:""; position:absolute; inset:0; pointer-events:none;
  background: repeating-linear-gradient(90deg,
    rgba(255,255,255,.06) 0 1px,
    rgba(0,0,0,.04) 1px 2px);
  opacity:.07;
}

/* Keep your existing img/text rules */
section#projects.featured-projects .project-card img{
  width:100%; aspect-ratio:16/9; object-fit:cover; border-radius:.8rem; margin-bottom:.8rem;
}
section#projects.featured-projects .project-card h3{ color:#000; }
section#projects.featured-projects .project-card p{ color:#555; }


/* Layout & copy */
.pricing-section{ padding:clamp(48px,10vh,80px) 1rem; background:linear-gradient(180deg,#f7f9fc,#eef3f8); }
.pricing-section h2{ text-align:center; font-size:clamp(2rem,4vw,2.6rem); margin:0 0 .25rem; }
.pricing-sub{ text-align:center; color:#556; margin:0 0 2rem; }
.pricing-layout{ display:grid; grid-template-columns:min(520px,100%) minmax(280px,1fr); gap:clamp(20px,6vw,48px); align-items:center; max-width:1100px; margin:0 auto; }

/* Globe container */
.globe{ position:relative; aspect-ratio:1/1; width:100%; max-width:520px; margin:0; border-radius:50%;
  box-shadow:0 20px 60px rgba(0,0,0,.15); background:radial-gradient(120% 120% at 30% 30%, #1f2a44 0%, #2f3d5a 50%, #192338 100%); }
#pricingGlobe{ width:100%; height:100%; display:block; border-radius:50%; }

/* Plan dots */
.plan-dots{ position:absolute; inset:0; pointer-events:none; }
.dot{ position:absolute; width:46px; height:46px; border-radius:50%; border:none; pointer-events:auto; cursor:pointer;
  background:#fff; color:#0f2147; font:600 12px/46px system-ui, sans-serif; text-align:center; box-shadow:0 6px 16px rgba(0,0,0,.25); }
.dot--top{ left:50%; top:-23px; transform:translateX(-50%); }
.dot--right{ right:-23px; top:50%; transform:translateY(-50%); }
.dot--bottom{ left:50%; bottom:-23px; transform:translateX(-50%); }
.dot--left{ left:-23px; top:50%; transform:translateY(-50%); }
.dot:focus-visible{ outline:3px solid #5090ff; outline-offset:3px; }

/* Details card */
.details{ background:#fff; border-radius:16px; padding:22px; box-shadow:0 10px 30px rgba(0,0,0,.08); }
.details .plan-title{ font-size:1.35rem; margin:.25rem 0 0; }
.plan-price{ font-weight:700; color:#2463eb; margin:.15rem 0 1rem; }
.plan-list{ margin:0 0 1.25rem 1rem; color:#334; line-height:1.6; }
.plan-list li{ margin:.25rem 0; }
.btn{ display:inline-block; padding:.75rem 1.2rem; border-radius:999px; background:#2463eb; color:#fff; text-decoration:none; font-weight:600; box-shadow:0 6px 18px rgba(36,99,235,.35); }
.btn:hover{ transform:translateY(-1px); }
@media (prefers-reduced-motion:reduce){ .btn:hover{ transform:none; } }

/* Stack on small screens */
@media (max-width: 820px){
  .pricing-layout{ grid-template-columns:1fr; }
  .details{ order:2; }
  .globe{ order:1; margin-inline:auto; max-width:460px; }
}

.back-to-top-floating{
  position: fixed; right: 16px; bottom: 16px;
  width: 44px; height: 44px; border-radius: 999px; border: 0;
  display: grid; place-items: center;
  background: #2463eb; color: #fff; cursor: pointer; z-index: 1000;
  box-shadow: 0 10px 24px rgba(36,99,235,.35);
  transition: transform .15s ease;
}
.back-to-top-floating:hover{ transform: translateY(-2px); }
.back-to-top-floating[hidden]{ display: none !important; }
@media (prefers-reduced-motion: reduce){
  .back-to-top-floating:hover{ transform:none; }
}

/* Fix Featured Projects layout */
#projects.featured-projects{
  display:block !important;                   /* back to normal block flow */
  padding: clamp(48px, 10vh, 72px) 1rem;      /* keep your padding */
}

/* Center the grid and make cards line up horizontally */
#projects.featured-projects .project-grid{
  display:grid !important;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  grid-auto-rows: 1fr;                        /* equal track height */
  gap: 1.5rem;
  max-width: 1150px;                          /* keeps a nice readable width */
  margin: 1.25rem auto 0;                     /* center the grid */
  padding: 0 16px;
}

/* Let cards fill each grid cell evenly */
#projects.featured-projects .project-card{
  max-width: none;                             /* use the grid width */
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Stop space-between from pushing content oddly */
#projects .project-card{
  display:flex;
  flex-direction:column;
  justify-content:flex-start; /* was space-between earlier */
}

/* Uniform photo window */
#projects .project-card .card-media{
  width:100%;
  aspect-ratio: 16 / 9;          /* consistent height across cards */
  border-radius: 14px;
  overflow:hidden;                /* clip corners properly */
  margin: 0 0 1rem;
  background:#e9eef6;            /* subtle fallback behind images */
}
#projects .project-card .card-media img{
  width:100%;
  height:100%;
  object-fit:cover;               /* fill window without distortion */
  display:block;
}

/* If you still have any old img rules, this neutralizes them */
#projects .project-card img{
  padding:0; border:0; box-shadow:none; background:none;
}

/* Center the globe when the details card is hidden */
.pricing-layout .details{
  display: none !important;        /* hide the card */
}

.pricing-layout{
  grid-template-columns: 1fr !important;  /* collapse to a single column */
  justify-items: center;                   /* center the child (the globe) */
  align-items: center;
  max-width: 720px;                        /* optional: tighten the container */
  margin-inline: auto;                     /* center the container itself */
}

/* Make sure the globe block centers itself */
.globe{
  margin-inline: auto;
  width: min(92vw, 640px);                 /* responsive, capped width */
  max-width: 640px;                        /* you can keep 520px if you prefer */
}
#pricingGlobe{
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 1 / 1;                     /* keeps it perfectly round */
  border-radius: 50%;
}

/* Headline: clean 3D/extruded look */
.pricing-title{
  text-align:center;
  font-weight:900;
  font-size:clamp(28px,4vw,44px);
  letter-spacing:-0.02em;
  margin:0 0 .35rem;
  color:#10151f; /* solid, no gradient */
  /* stacked shadows = faux 3D extrusion */
  text-shadow:
    0 1px 0 #ffffff,            /* crisp top highlight */
    0 2px 0 #e9eef7,
    0 3px 0 #dbe3f1,
    0 4px 0 #cdd8ec,
    0 5px 0 #bfcee6,
    0 8px 18px rgba(0,0,0,.25); /* soft drop shadow */
}

/* Emphasized words get the same 3D, slightly stronger pop */
.pricing-title .em{
  color:#10151f;
  text-shadow:
    0 1px 0 #ffffff,
    0 2px 0 #e9eef7,
    0 3px 0 #dbe3f1,
    0 4px 0 #cdd8ec,
    0 5px 0 #bfcee6,
    0 9px 20px rgba(0,0,0,.28);
}

/* Keep the subline understated */
.pricing-sub{
  text-align:center;
  color:#6b7280;
  margin:0 0 1.25rem;
}

/* Set the globe/navy color once; tweak if needed to match your globe */
.pricing-section.pricing-globe {
  /* Colors from your globe — adjust if needed */
  --globe-start: #0d2a5a;      /* deep navy */
  --globe-mid: #123d7a;        /* slightly lighter navy/blue */
  --globe-end: #1f5fbf;        /* accent blue */
  --card-text: #e9f0ff;
}

/* Layout */
.pricing-section .container { max-width: 1100px; margin: 0 auto; padding: 0 1rem; }

.maintenance-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

/* Card */
.maintenance-card {
  background: radial-gradient(circle at top left, var(--globe-end) 0%, var(--globe-mid) 40%, var(--globe-start) 100%);
  color: var(--card-text);
  border-radius: 18px;
  padding: 1.25rem 1.25rem 1.5rem;
  box-shadow: 0 12px 30px rgba(0,0,0,.2);
  position: relative;
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease;
}

.maintenance-card::after {
  /* subtle glossy highlight */
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(800px 300px at 120% -20%, rgba(255,255,255,.15), transparent 70%);
  pointer-events: none;
}

.maintenance-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(0,0,0,.25);
}

/* Heading */
.maintenance-card h3 {
  margin: 0 0 .35rem;
  font-size: 1.15rem;
}

/* Price */
.plan-price {
  display: flex;
  align-items: baseline;
  gap: .35rem;
  margin-bottom: .5rem;
}

.plan-price .amount {
  font-size: 1.6rem;
  font-weight: 800;
}
.plan-price .per {
  opacity: .85;
  font-size: .95rem;
}
/* Description */
.maintenance-card p {
  margin: .25rem 0 0;
  line-height: 1.45;
  opacity: .95;
}
/* Optional: harmonize section header spacing */
.pricing-title { margin-bottom: .25rem; }
.pricing-sub { margin: 0; opacity: .8; }

/* Minimal, centered pricing cards */
.pricing-minimal{
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  max-width: 980px;        /* keeps the row compact */
  margin: 0 auto;
}

.pricing-minimal .maintenance-card{
  display: flex;
  flex-direction: column;
  justify-content: center; /* vertical center content */
  align-items: center;
  text-align: center;
  padding: 18px 16px;
  min-height: 180px;       /* smaller card height */
  border-radius: 16px;
}

/* Keep headings consistent even if they wrap */
.pricing-minimal .maintenance-card h3{
  font-size: 1.05rem;
  line-height: 1.3;
  margin: 0 0 .4rem;
  min-height: 2.6em;       /* reserves equal space for titles */
  display: flex; align-items: center; justify-content: center;
}

/* Centered, bold price */
.pricing-minimal .plan-price{
  display: flex; justify-content: center; align-items: baseline;
}
.pricing-minimal .plan-price .amount{
  font-size: 1.8rem;       /* make it pop */
  font-weight: 800;
}

/* Tighten subtitle spacing above the grid */
#pricing-maintenance .pricing-sub{ margin: .25rem 0 1.1rem; }

/* Small screens: a touch more breathing room */
@media (max-width: 520px){
  .pricing-minimal{ gap: 14px; }
  .pricing-minimal .maintenance-card{ min-height: 170px; }
}

/* Compact, horizontal cards */
.pricing-minimal{
  display:grid !important;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap:16px;
  max-width:980px;
  margin:0 auto;
}

.maintenance-card{
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  text-align:center;
  padding:18px 16px;
  min-height:180px;            /* smaller cards */
  border-radius:16px;
  background:#fff;
  box-shadow:0 6px 18px rgba(0,0,0,.08);
  text-decoration:none;
  color:inherit;
  transition:transform .2s ease, box-shadow .2s ease;
}

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

/* Title + price sizing */
.maintenance-card h3{
  font-size:1.05rem;
  line-height:1.3;
  margin:0 0 .4rem;
  min-height:2.6em;            /* equal title space even if wraps */
  display:flex; align-items:center; justify-content:center;
}
.plan-price{ display:flex; justify-content:center; align-items:baseline; }
.plan-price .amount{ font-size:1.8rem; font-weight:800; }

/* Tighten subtitle spacing above grid */
#pricing-maintenance .pricing-sub{ margin:.25rem 0 1.1rem; }

@media (max-width:520px){
  .pricing-minimal{ gap:14px; }
  .maintenance-card{ min-height:170px; }
}

/* Ad layout: text left, video right (like the old globe) */
.pricing-section .pricing-layout{
  display: grid !important;
  grid-template-columns: 1fr min(520px, 40vw) !important;
  align-items: center !important;
  gap: clamp(20px, 6vw, 48px) !important;
  max-width: 1100px;
  margin: 0 auto;
}

.ads-row{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap:24px;
  justify-content:center;
}



.hero-video{
  max-width:250px;
  width:100%;
  border-radius:12px;
  box-shadow:0 4px 12px rgba(0,0,0,.3);
}

/* Placeholder card */
.ad-placeholder{
  width:280px;
  max-width:100%;
  padding:22px 20px;
  border-radius:14px;
  background:linear-gradient(180deg, #f6f8fb, #eef3f7);
  box-shadow:0 10px 24px rgba(0,0,0,.08);
  text-align:center;
}

.ad-placeholder .pill{
  display:inline-block;
  font-size:.85rem;
  padding:.25rem .6rem;
  border-radius:999px;
  background:#e9efff;
  color:#2b52ff;
  margin-bottom:.4rem;
}

.ad-placeholder h3{
  margin:.2rem 0 .35rem;
  font-size:1.1rem;
}

.ad-placeholder p{
  margin:0 0 .8rem;
  color:#5b6776;
}
/* Ad layout:  video */
.ad-video {
  width: 100%;
  max-width: 320px; /* keeps both ads uniform */
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,.3);
  background: #000;
}

.ad-video video {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;  /* consistent vertical reels */
  object-fit: cover;
  border-radius: 12px;
}

.ad-placeholder .btn-primary{
  display:inline-block;
  padding:.5rem .8rem;
  border-radius:999px;
  background:#2b52ff;
  color:#fff;
  text-decoration:none;
  font-weight:600;
}


.ad-spot{ display:flex; justify-content:center; }
.hero-video{
  max-width: 500px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,.3);
}

/* Stack on small screens */
@media (max-width: 820px){
  .pricing-section .pricing-layout{
    grid-template-columns: 1fr !important;
  }
}
/* ===== FINAL OVERRIDES: Ad row next to headline ===== */
.pricing-section .pricing-layout{
  display: grid !important;
  grid-template-columns: 1fr auto !important;   /* text area + ad stack */
  align-items: center !important;
  gap: 24px !important;                          /* closer spacing */
  max-width: 1100px;
  margin: 0 auto;
}



/* One source of truth for video sizing */
.hero-video{
  max-width: 320px !important;                   /* smaller, balanced */
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;                                /* center inside tile */
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,.3);
}

/* Match the placeholder card width to the video */
.ad-placeholder{
  width: 320px !important;
  max-width: 100%;
}

/* Stack cleanly on small screens */
@media (max-width: 820px){
  .pricing-section .pricing-layout{ grid-template-columns: 1fr !important; }
  .ads-row{ justify-content: center; }
}
/* --- Unified ad tiles (two equal videos + one CTA) --- */
/* Uniform ad tiles */
.ads-row{
  display:flex;
  gap:24px;
  justify-content:center;
  align-items:flex-start;
  flex-wrap:wrap;
  margin:0;
}

.ads-row .ad-tile{
  width:320px;
  max-width:100%;
}

.ads-row .ad-tile .ad-video{
  display:block;
  width:100%;
  aspect-ratio:9/16;   /* same height for both */
  object-fit:cover;    /* crop to fill cleanly */
  border-radius:12px;
  box-shadow:0 4px 12px rgba(0,0,0,.3);
  background:#000;
}

.ads-cta{
  text-align:center;
  margin-top:12px;
}

.ads-cta .btn-primary{
  display:inline-block;
  padding:.6rem 1rem;
  border-radius:999px;
  background:#2b52ff;
  color:#fff;
  text-decoration:none;
  font-weight:600;
}

@media (max-width: 420px){
  .ads-row .ad-tile{ width:92vw; }
}
