/* =========================================================
   Axara Software — SaaS Light Theme
   Mobile-first, responsive grid, utility classes included.
   ========================================================= */

/* ---------- CSS Variables ---------- */
:root{
  --bg: #ffffff;
  --bg-alt: #f6f8fb;
  --text: #0f172a;
  --muted: #5b6476;
  --line: #e6ebf3;

  --brand:   #00C9FF;        /* primary blue */
  --brand-2: #92FE9D ;        /* gradient stop */
  --brand-3: #9bb0ff;        /* soft accent */

  --accent: #00d4ff;         /* cyan accent for details */
  --success: #10b981;
  --warn: #f59e0b;
  --danger: #ef4444;

  --radius: 16px;
  --shadow: 0 10px 30px rgba(24,39,75,.08), 0 2px 6px rgba(24,39,75,.04);
}

/* ---------- Reset / Base ---------- */
*{box-sizing:border-box}
html,body{height:100%}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: Inter, system-ui, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background:var(--bg);
  line-height:1.6;
}
img{max-width:100%; display:block}
a{color:inherit; text-decoration:none}
ul{margin:0; padding:0; list-style:none}

/* Containers */
.container{ width:min(1200px, 92%); margin-inline:auto }

/* Utilities */
.muted{color:var(--muted)}
.small{font-size:.95rem}
.grad{
  background: linear-gradient(90deg, var(--brand), var(--accent));
  -webkit-background-clip:text; background-clip:text; color:transparent;
}

/* ---------- Header & Nav ---------- */
.site-header{
  position:sticky; top:0; z-index:50;
  background:#fff;
  border-bottom:1px solid var(--line);
}
.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
}
.brand{display:flex; align-items:center; gap:10px}
.brand .logo{
  width:30%; 
  height:50%;
}
.brand-text{font-weight:800; letter-spacing:.2px}

a.active {
  background:linear-gradient(135deg, var(--brand), var(--brand-2)) !important;
}

.btn-whatsapp:hover {
    background:linear-gradient(135deg, var(--brand), var(--brand-2)) !important;
}

.site-nav ul{display:flex; align-items:center; gap:18px}
.site-nav a{padding:10px 12px; border-radius:10px}
.site-nav a:hover{background:linear-gradient(135deg, var(--brand), var(--brand-2))}
.nav-toggle{display:none; border:none; background:#eef2ff; padding:8px 12px; border-radius:10px}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:12px 18px; border-radius:12px; border:1px solid transparent;
  font-weight:700; cursor:pointer; transition: all .15s ease;
}
.btn.small{padding:10px 14px; font-weight:600}
.btn-primary{
  background:linear-gradient(135deg, var(--brand), var(--brand-2));
  color:#fff; box-shadow: var(--shadow);
}
.btn-primary:hover{filter:brightness(1.05)}
.btn-ghost{
  background:#fff; border-color:var(--line); color:var(--text);
}
.btn-ghost:hover{border-color:#cad3e2; background:#f9fbff}

/* ---------- Hero ---------- */
.hero{
  position:relative; overflow:hidden;
  background: linear-gradient(180deg, #ffffff 0%, #f7f9ff 100%);
}
.hero-inner{
  display:grid; gap:38px; align-items:center;
  grid-template-columns: 1.1fr .9fr;
  padding:48px 0 32px;
}
.hero-copy h1{
  font-size: clamp(2rem, 1.4rem + 2vw, 3rem);
  line-height:1.12; margin:0 0 10px;
}
.lead{font-size: clamp(1rem, .95rem + .3vw, 1.15rem); color:var(--muted)}
.hero-cta{display:flex; gap:12px; margin:16px 0}
.badges{display:flex; flex-wrap:wrap; gap:10px; margin-top:10px}
.badges li{
  padding:8px 12px; border-radius:999px;
  background:#f1f5ff; color:#2b3a8f; border:1px solid #e3e9ff;
}

/* Hero decorative background */
.hero-bg{ position:absolute; inset:0; pointer-events:none }
.wave{
  position:absolute; bottom:-1px; left:0; width:100%; height:220px;
}
.wave path{
  fill: #eff3ff;
}
.mesh{
  position:absolute; right:-10%; top:-10%;
  width:min(900px,120%); height:auto; opacity:.35;
}
.mesh rect{ fill:url(#dots) }
.mesh circle{ fill:#d7e2ff }
.mesh .links line{ stroke:#bfd0ff; stroke-width:1.5; stroke-linecap:round }

/* Illustration */
.hero-illustration{
  display:flex; align-items:center; justify-content:center;
}
.hero-illustration img{
  width:100%; max-width:520px; filter: drop-shadow(0 14px 24px rgba(31,66,146,.15));
}

/* ---------- Sections ---------- */
.section{ padding:56px 0 }
.section-alt{ background:var(--bg-alt); border-top:1px solid var(--line); border-bottom:1px solid var(--line) }
.section-head{ display:flex; align-items:end; justify-content:space-between; gap:12px; margin-bottom:18px }
.section-head h2{ margin:0; font-size: clamp(1.4rem, 1.2rem + .8vw, 2rem) }

/* ---------- Grid & Cards ---------- */
.grid{ display:grid; gap:18px }
.cards-3{ grid-template-columns: repeat(3, minmax(0, 1fr)) }

.card{
  background:#fff; border:1px solid var(--line); border-radius: var(--radius);
  padding:18px; box-shadow: var(--shadow);
}
.card-hover{ transition: transform .15s ease, box-shadow .15s ease }
.card-hover:hover{ transform: translateY(-4px); box-shadow:0 12px 40px rgba(24,39,75,.12) }

.list{margin:10px 0 0 16px; padding-left:4px; list-style:disc}
.list li{margin:4px 0; color:#394255}

/* Service icons (simple placeholders) */
.icon{ width:44px; height:44px; border-radius:10px; margin-bottom:10px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2)); box-shadow: var(--shadow);
}
.ic-web::after, .ic-app::after, .ic-ux::after{
  content:''; display:block; width:26px; height:26px; margin:9px auto; border-radius:6px; background:#fff;
}
.ic-web::after{ box-shadow: inset 0 0 0 2px #cad4ff, 0 0 0 2px #fff }
.ic-app::after{ border-radius:50%; box-shadow: inset 0 0 0 2px #cde6ff }
.ic-ux::after{ width:18px; height:18px; border-radius:2px; transform:rotate(45deg); box-shadow: inset 0 0 0 2px #ffe9a8 }

/* ---------- Portfolio Shots ---------- */
.portfolio{ margin-top:8px }
.card-shot{ padding:0; overflow:hidden; position:relative }
.card-shot img{ aspect-ratio: 16 / 10; object-fit:cover }
.card-shot .meta{
  position:absolute; left:12px; bottom:12px; right:12px;
  display:flex; align-items:center; justify-content:space-between;
  background: rgba(255,255,255,.9); border:1px solid var(--line);
  padding:8px 12px; border-radius:10px; backdrop-filter: blur(4px);
}
.card-shot .meta span{ font-weight:700 }
.card-shot .meta small{ color:var(--muted) }

/* ---------- Process ---------- */
.process{
  display:grid; gap:14px; grid-template-columns: repeat(4, minmax(0,1fr));
  counter-reset: step;
}
.process li{
  background:#fff; border:1px solid var(--line); border-radius: var(--radius);
  padding:16px; box-shadow: var(--shadow);
}
.process li span{
  display:inline-grid; place-items:center;
  width:36px; height:36px; border-radius:999px;
  background:linear-gradient(135deg, var(--brand), var(--accent));
  color:#fff; font-weight:800; margin-bottom:10px;
}
.process h3{ margin:0 0 4px 0; font-size:1.05rem }
.process p{ margin:0; color:var(--muted) }

/* ---------- CTA ---------- */
.cta{
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  color:#fff; margin-top:10px;
}
.cta-inner{
  display:flex; flex-direction:column; align-items:center; text-align:center;
  gap:10px; padding:44px 0;
}
.cta .btn-primary{ background:#fff; color:#1a2b8f; border-color:transparent }
.cta .btn-primary:hover{ filter:brightness(.96) }

/* ---------- Footer ---------- */
.site-footer{ background:#fff; border-top:1px solid var(--line); margin-top:0 }
.footer-inner{
  display:grid; grid-template-columns: 1fr auto; align-items:center; gap:12px;
  padding:18px 0;
}
.foot-brand{display:flex; align-items:center; gap:10px}
.foot-brand .logo{width:26px; height:26px}
.foot-nav{display:flex; gap:14px; flex-wrap:wrap}
.foot-nav a{padding:6px 8px; border-radius:8px}
.foot-nav a:hover{background:#f2f5ff}
.copyright{margin:0; color:var(--muted); text-align:right}

/* ---------- Responsive ---------- */
@media (max-width: 1024px){
  .hero-inner{ grid-template-columns: 1fr; padding-top:40px }
  .hero-illustration{ order:-1 }
}
@media (max-width: 880px){
  .cards-3{ grid-template-columns: 1fr 1fr }
  .process{ grid-template-columns: 1fr 1fr }
  .section-head{ flex-direction:column; align-items:flex-start }
}
@media (max-width: 680px){
  .site-nav ul{ position:fixed; left:16px; right:16px; top:64px; padding:14px;
    flex-direction:column; background:#fff; border:1px solid var(--line); border-radius:14px; display:none;
  }
  .nav-toggle{ display:inline-block }
  .cards-3, .process{ grid-template-columns:1fr }
  .footer-inner{ grid-template-columns: 1fr; text-align:center }
  .copyright{ text-align:center }
}

/* ---------- JS helpers (toggle) ---------- */
.site-nav ul.is-open{ display:flex !important }

/* ---------- Optional: page-specific body themes ---------- */
.theme-light{ background:#fff }


/* =========================================================
   Contact Form — Enhanced styling (no HTML changes required)
   Targets #contact-form and its native elements
   ========================================================= */

#contact-form{
  /* keeps your .card look, but adds nicer spacing */
  display: grid;
  gap: 18px;
  padding: 22px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

/* Two-column grid stays responsive (your inline grid still works; this reinforces it) */
#contact-form .grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 680px){
  #contact-form .grid{ grid-template-columns: 1fr; }
}

/* Labels and fields */
#contact-form label{
  display: grid;
  gap: 8px;
  font-weight: 600;
  color: var(--text);
}

/* Inputs, selects, textareas */
#contact-form input,
#contact-form select,
#contact-form textarea{
  appearance: none;
  width: 100%;
  background: #fff;
  border: 1.5px solid var(--line);
  color: var(--text);
  padding: 14px 14px;
  border-radius: 12px;
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}

/* Hover softness */
#contact-form input:hover,
#contact-form select:hover,
#contact-form textarea:hover{
  border-color: #d7deee;
}

/* Focus ring + brand color */
#contact-form input:focus,
#contact-form select:focus,
#contact-form textarea:focus{
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(35,67,255,.12);
}

/* Placeholder tone */
#contact-form ::placeholder{ color: #9aa5bd; }

/* Select arrow (pure CSS, no image) */
#contact-form select{
  background-image:
    linear-gradient(45deg, transparent 50%, #7b86a3 50%),
    linear-gradient(135deg, #7b86a3 50%, transparent 50%);
  background-position:
    calc(100% - 22px) calc(50% - 2px),
    calc(100% - 16px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 44px; /* room for arrow */
}

/* Textarea sizing */
#contact-form textarea{ min-height: 160px; resize: vertical; }

/* Validation hints */
#contact-form :is(input, select, textarea):invalid:focus{
  border-color: var(--danger);
  box-shadow: 0 0 0 4px rgba(239,68,68,.12);
}
#contact-form :is(input, textarea):valid{
  border-color: #cfe7d9;
}

/* Actions row & note */
#contact-form button[type="submit"]{
  min-width: 190px;
}
#contact-form .muted.small#form-note{
  margin-left: 2px;
}

/* Optional: highlight any label when its field is focused */
#contact-form label:focus-within{
  color: #1b2559;
}
