
:root {
  --accent:#facc15;
  --accent-warm:#ED6A2C;
  --bg:#0b0b0b;
  --card-bg:#ffffff;
}

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

html, body {
  height:100%;
  margin:0;
  padding:0;
  font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  scroll-behavior:smooth;
  background:var(--bg);
  -webkit-font-smoothing:antialiased;
}






a {
  color:inherit;
  text-decoration:none;
}

img {
  max-width:100%;
  display:block;
}

header {
  backdrop-filter:blur(8px);
}

/* Sections */
.section {
  padding:6rem 1rem;
  position:relative;
  z-index:1;
}

.section:first-of-type {
  /* for pages where header would overlap */
  padding-top:9rem;
}

.section-with-padding {
  padding-top:6rem;
  padding-bottom:6rem;
}

.reveal,
.fade-reveal {
  opacity: 1;
  transform: none;

}

/* Divider (used in About/Services) */
.divider {
  height:3px;
  width:70px;
  background:var(--accent);
  margin:1.5rem auto;
  border-radius:2px;
}

/* Header / Nav */
#mainHeader {
  background:rgba(0,0,0,0.80);
  border-bottom:1px solid rgba(31,41,55,0.9);
}

/* Mobile menu overlay */
#menuOverlay {
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.55);
  z-index:50;
  opacity:0;
  pointer-events:none;
  transition:opacity .3s ease;
}

/* WhatsApp widget */
.whatsapp-widget{
  position:fixed;
  right:1.25rem;
  bottom:5.5rem;
  z-index:35;
  font-size:14px;
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:0.4rem;
}

.whatsapp-label{
  background:#0f172a;
  color:#e5e7eb;
  padding:0.3rem 0.7rem;
  border-radius:999px;
  font-size:0.75rem;
  box-shadow:0 10px 25px rgba(15,23,42,0.5);
  border:1px solid rgba(148,163,184,0.5);
  white-space:nowrap;
}

.whatsapp-toggle{
  width:46px;
  height:46px;
  border-radius:999px;
  border:none;
  background:#22c55e;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  box-shadow:0 14px 35px rgba(22,163,74,0.5);
  color:#ecfdf3;
  font-size:1.3rem;
  transition:transform .25s ease, box-shadow .25s ease, filter .25s ease;
}

.whatsapp-toggle:hover{
  transform:translateY(-2px);
  box-shadow:0 20px 45px rgba(22,163,74,0.65);
  filter:brightness(1.05);
}

.whatsapp-panel{
  position:absolute;
  right:0;
  bottom:3.2rem;
  width:260px;
  padding:1rem;
  border-radius:14px;
  background:#0f172a;
  color:#e5e7eb;
  box-shadow:0 18px 40px rgba(15,23,42,0.6);
  border:1px solid rgba(148,163,184,0.45);
  opacity:0;
  transform:translateY(10px) scale(.98);
  pointer-events:none;
  transition:opacity .25s ease, transform .25s ease;
}

.whatsapp-panel.open{
  opacity:1;
  transform:translateY(0) scale(1);
  pointer-events:auto;
}

.whatsapp-panel h4{
  font-size:.95rem;
  font-weight:600;
  margin-bottom:.25rem;
  color:#fefce8;
}

.whatsapp-panel p{
  font-size:.8rem;
  line-height:1.5;
  margin-bottom:.75rem;
  color:#cbd5f5;
}

.whatsapp-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.3rem;
  width:100%;
  padding:.55rem .8rem;
  border-radius:999px;
  font-size:.85rem;
  font-weight:600;
  background:#22c55e;
  color:#052e16;
  text-decoration:none;
}

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

/* Scroll-to-top pill (home) */
#scrollTopBtn{
  position:fixed;
  right:1.25rem;
  bottom:1.25rem;
  width:42px;
  height:42px;
  border-radius:999px;
  border:none;
  background:var(--accent-warm);
  color:#111827;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:1.1rem;
  cursor:pointer;
  box-shadow:0 12px 30px rgba(15,23,42,0.30);
  opacity:0;
  pointer-events:none;
  transform:translateY(8px);
  transition:opacity .25s ease, transform .25s ease, box-shadow .25s ease;
  z-index:35;
}

#scrollTopBtn.visible{
  opacity:1;
  pointer-events:auto;
  transform:translateY(0);
}

#scrollTopBtn:hover{
  transform:translateY(-2px);
  box-shadow:0 18px 40px rgba(15,23,42,0.35);
}

/* Intro overlay (home) */
#introOverlay{
  position:fixed;
  inset:0;
  background:#000;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  z-index:9999;
  color:#fff;
}

#introOverlay img{
  width:180px;
  opacity:0;
  filter:drop-shadow(0 0 12px rgba(250,204,21,.7));
}

#introOverlay h1{
  margin-top:1rem;
  font-size:1.05rem;
  opacity:0;
}

@keyframes glowPulse{
  0%{filter:drop-shadow(0 0 6px rgba(250,204,21,.35))}
  50%{filter:drop-shadow(0 0 28px rgba(250,204,21,.95))}
  100%{filter:drop-shadow(0 0 6px rgba(250,204,21,.35))}
}
.glow{animation:glowPulse 2s infinite ease-in-out}

/* Home – hero & cards */
.card-glow{
  position:relative;
  background:var(--card-bg);
  border-radius:16px;
  overflow:visible;
  transition:box-shadow .35s ease,transform .35s ease,border-color .3s ease;
  will-change:transform,box-shadow;
  box-shadow:0 18px 45px rgba(15,23,42,0.10);
  transform-style:preserve-3d;
  border:1px solid rgba(15,23,42,0.04);
}
.card-inner{border-radius:16px;overflow:hidden}
.card-inner h4{
  font-size:1.05rem;
  font-weight:700;
  color:#111827;
}
.card-inner p{
  font-size:.95rem;
  color:#4b5563;
}
.card-tilt{transform-origin:center center}
.card-hover{cursor:pointer}
.card-glow::before{
  content:'';
  position:absolute;
  inset:0;
  border-radius:inherit;
  border-top:3px solid var(--accent-warm);
  opacity:.85;
  pointer-events:none;
}
.card-glow:hover{
  transform:translateY(-6px);
  box-shadow:0 26px 60px rgba(15,23,42,0.18);
  border-color:rgba(237,106,44,0.35);
}

/* Home – clients */
.clients-wrap{overflow:hidden;position:relative}
.clients-track{
  display:flex;
  gap:3rem;
  align-items:center;
  will-change:transform;
}
.client-logo{
  height:60px;
  opacity:1;
  filter:none;
  transition:transform .25s ease,box-shadow .25s ease,opacity .25s ease;
}
.client-logo:hover{
  opacity:1;
  transform:translateY(-4px) scale(1.03);
  box-shadow:0 10px 24px rgba(15,23,42,0.18);
}

/* Home – hero canvas */
#heroCanvas{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  z-index:0;
  display:block;
  pointer-events:none;
}

/* Testimonials */
.testimonials-shell { position: relative; }
.testimonial-carousel{
  position:relative;
  max-width:900px;
  margin:0 auto;
  min-height:240px;
}
.testimonial-card-3d {
  min-width: 280px;
  max-width: 900px;
  margin:0 auto;
  background: radial-gradient(circle at top left, rgba(250,204,21,0.12), #ffffff);
  border-radius: 18px;
  padding: 1.75rem;
  box-shadow: 0 18px 40px rgba(15,23,42,0.12);
  transform-origin: center center;
  transition: opacity .4s ease, transform 0.5s ease;
  opacity:0;
  transform:translateX(30px) scale(.98);
  position:absolute;
  inset:0;
}
.testimonial-card-3d.active{
  opacity:1;
  transform:translateX(0) scale(1);
  position:relative;
}
.testimonial-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}
.testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 0%, #facc15, #f97316);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0f172a;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 8px 18px rgba(249,115,22,0.35);
}
.testimonial-meta { text-align: left; }
.testimonial-meta h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: #0f172a;
}
.testimonial-meta span {
  font-size: 0.78rem;
  color: #6b7280;
}
.testimonial-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.72rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(250,204,21,0.16);
  color: #92400e;
  margin-bottom: 0.75rem;
}
.testimonial-stars {
  font-size: 0.8rem;
  color: #f59e0b;
}
.testimonial-quote {
  font-size: 0.95rem;
  color: #4b5563;
  text-align: left;
  line-height: 1.7;
}
.testimonial-quote strong { color: #111827; }

.carousel-dots{
  display:flex;
  justify-content:center;
  gap:.5rem;
  margin-top:1.5rem;
}
.carousel-dot{
  width:9px;
  height:9px;
  border-radius:999px;
  border:none;
  background:#e5e7eb;
  cursor:pointer;
  transition:background .25s ease, transform .25s ease, width .25s ease;
}
.carousel-dot.active{
  background:#facc15;
  transform:scale(1.2);
  width:18px;
}

/* Work page & About glow background */
.glow-bg {
  position:absolute;
  top:-150px;
  left:50%;
  width:600px;
  height:600px;
  transform:translateX(-50%);
  background:radial-gradient(circle, rgba(250,204,21,0.08), transparent 70%);
  filter:blur(120px);
  z-index:0;
  animation:floatGlow 8s ease-in-out infinite alternate;
  pointer-events:none;
}
@keyframes floatGlow {
  from { transform:translateX(-50%) translateY(0); }
  to   { transform:translateX(-50%) translateY(40px); }
}

/* Work – project card */
.project-card {
  overflow: hidden;
  position: relative;
  border-radius: 1rem;
  cursor: pointer;
  transition: transform 0.3s ease;
  border: 1px solid rgba(255,255,255,0.08);
  background: #111;
}
.project-card:hover { transform: translateY(-6px) scale(1.02); }
.project-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.7));
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex; align-items: flex-end; justify-content: center;
  padding-bottom: 1.5rem;
}
.project-card:hover .project-overlay { opacity: 1; }

/* Services – cards */
.service-card {
  background:#111;
  border:1px solid #333;
  border-radius:10px;
  padding:2rem;
  text-align:center;
  transition:all .3s ease;
}
.service-card:hover {
  border-color:var(--accent);
  box-shadow:0 0 24px rgba(250,204,21,.25);
  transform:translateY(-6px);
}
.service-icon {
  font-size:2.5rem;
  color:var(--accent);
  margin-bottom:1rem;
  transition: transform .4s ease, opacity .3s ease;
}

/* About – process steps */
.process-step {
  position: relative;
  padding: 2rem;
  border-left: 2px solid rgba(250,204,21,0.4);
}
.process-step::before {
  content: attr(data-step);
  position: absolute;
  left: -1.4rem; top: 1.2rem;
  background: var(--accent); color: #000;
  font-weight: bold; width: 1.8rem; height: 1.8rem;
  border-radius: 50%; display: flex;
  align-items: center; justify-content: center;
  box-shadow: 0 0 10px rgba(250,204,21,0.6);
}
.process-line {
  width: 2px; background: linear-gradient(to bottom, var(--accent), transparent);
  position: absolute; left: 0.85rem; top: 3rem;
  height: calc(100% - 3rem); opacity: 0.4;
}

/* About – glow border */
.glow-border {
  border:1px solid rgba(250,204,21,0.3);
  box-shadow:0 0 24px rgba(250,204,21,0.15);
}

/* Contact – inputs */
.input-field {
  background:#111;
  border:1px solid #333;
  padding:0.9rem 1rem;
  border-radius:8px;
  color:#fff;
  width:100%;
  transition:border 0.2s, box-shadow 0.3s;
}
.input-field:focus {
  outline:none;
  border-color:var(--accent);
  box-shadow:0 0 10px rgba(250,204,21,0.4);
}

/* Contact – glow accent cards/buttons */
.glow-accent {
  box-shadow:0 0 24px rgba(250,204,21,0.25);
  transition:box-shadow 0.4s ease;
}
.glow-accent:hover {
  box-shadow:0 0 36px rgba(250,204,21,0.6);
}

/* Footer */
footer{
  background:#000;
  color:#e6eef8;
}

/* Mobile tweaks */
@media (max-width:768px){
  #introOverlay img{width:150px}
  .client-logo{height:32px}
  .card-glow{
    box-shadow:0 10px 28px rgba(15,23,42,0.10);
  }
  #hero{
    min-height:78vh;
    height:auto;
    padding-top:5.5rem;
    padding-bottom:3rem;
  }
  #hero h1{
    font-size:clamp(1.9rem,6vw,2.4rem);
  }
  #hero p{
    font-size:0.95rem;
  }
  .section{
    padding-top:3.5rem;
    padding-bottom:3.5rem;
  }
  .testimonials-shell p{
    font-size:0.95rem;
  }
  .testimonial-card-3d{
    padding:1.2rem;
  }
  .whatsapp-panel{
    width:230px;
    right:0;
  }
  .whatsapp-widget{
    right:0.9rem;
    bottom:5rem;
  }
  .whatsapp-label{
    font-size:0.7rem;
    padding:0.25rem 0.6rem;
  }
}

@media (max-width:480px){
  .clients-track{
    gap:1.5rem;
  }
  .whatsapp-widget{
    bottom:4.5rem;
  }
  .whatsapp-label{
    max-width:120px;
    text-align:right;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .glow, *[data-animate] { animation: none !important; transition: none !important; }
}

/* CONTACT + MAP LAYOUT FIX */

.contact-map-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .contact-map-grid {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }
}

.contact-info-grid {
  display: grid;
  gap: 1.5rem;
}

.contact-card {
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid #1f2933;
  background: rgba(0, 0, 0, 0.4);
}

.contact-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: #ffffff;
}

.contact-text {
  color: #d1d5db;
  font-size: 0.95rem;
}

.contact-link {
  color: var(--accent);
  font-weight: 500;
}

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

/* MAP */
.contact-map {
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid #1f2933;
  min-height: 380px;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
}

/* Testimonial Avatar */
.testimonial-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, #facc15, #f59e0b);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.avatar-fallback {
  display: none;
  width: 100%;
  height: 100%;
  font-weight: 700;
  color: #000;
  align-items: center;
  justify-content: center;
}
