/*
 Theme Name: Astra Child
 Theme URI: https://asiaticsolutions.com
 Description: Child theme for Asiatic Solutions (custom coded homepage).
 Author: Asiatic Solutions
 Template: astra
 Version: 1.0.0
*/

/* ---------- GLOBAL ---------- */
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f5f7fb; /* light SaaS grey like Ada */
}

/* ==========================================================
   HERO SECTION – Ada-style gradient card
========================================================== */

.as-front-page .as-hero {
  padding: 88px 24px 56px;

}

.as-hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;

  background:
    url('https://asiaticsolutions.com/wp-content/uploads/2025/11/ChatGPT-Image-Nov-21-2025-05_06_48-PM.png') center / cover no-repeat,
    linear-gradient(135deg, rgba(15,107,255,0.92), rgba(0,86,199,0.92));

  border-radius: 32px;
  padding: 48px 48px 40px;
  
  color: #ffffff;
}


.as-hero-text {
  flex: 1 1 320px;
}

.as-badge {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.25);
  margin-bottom: 14px;
}

.as-hero-text h1 {
  font-size: 40px;
  line-height: 1.15;
  margin: 0 0 16px;
  font-weight: 700;
}

.as-subtitle {
  font-size: 16px;
  max-width: 520px;
  opacity: 0.9;
  margin-bottom: 22px;
}

.as-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.as-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  cursor: pointer;
}

.as-btn-primary {
  background: #ffffff;
  color: #0056c7;
  border-color: #ffffff;
}

.as-btn-primary:hover {
  background: #e5f0ff;
}

.as-btn-ghost {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.5);
}

.as-btn-ghost:hover {
  background: rgba(0, 0, 0, 0.16);
  color: #ffffff;
}

.as-hero-note {
  font-size: 13px;
  opacity: 0.9;
}

.as-hero-panel {
  flex: 1 1 280px;
  background: rgba(0, 0, 0, 0.22);
  border-radius: 18px;
  padding: 20px 20px 18px;
  backdrop-filter: blur(10px);
}

.as-panel-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.9;
}

.as-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}

.as-metric {
  background: rgba(0, 0, 0, 0.26);
  border-radius: 12px;
  padding: 12px 12px 10px;
}

.as-metric span {
  display: block;
}

.as-metric-value {
  font-size: 20px;
  font-weight: 700;
}

.as-metric-label {
  font-size: 12px;
  opacity: 0.85;
}

.as-panel-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 13px;
  opacity: 0.95;
}

.as-panel-list li {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}

.as-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #46f0ff;
}

/* hero – trusted by row */

.as-hero-trust {
  max-width: 1120px;
  margin: 20px auto 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
/* LOGO SLIDER SECTION */
.as-logos {
  text-align: center;
  margin: 40px 0 60px;
}

.as-logos-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #6b7280;
  margin-bottom: 20px;
}

.as-logos-slider {
  overflow: hidden;
  width: 100%;
  position: relative;
}

.as-logos-track {
  display: flex;
  align-items: center;
  gap: 80px;
  animation: scroll-logos 28s linear infinite;
}

.as-logos-track img {
  height: 42px;
  opacity: 0.85;
  transition: opacity 0.3s;
}

.as-logos-track img:hover {
  opacity: 1;
}

/* Continuous scroll animation */
@keyframes scroll-logos {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}



/* ---------- RESPONSIVE (HERO) ---------- */
@media (max-width: 768px) {
  .as-hero {
    padding: 72px 16px 40px;
  }

  .as-hero-inner {
    padding: 32px 24px 28px;
  }

  .as-hero-text h1 {
    font-size: 30px;
  }

  .as-hero-panel {
    margin-top: 10px;
  }

  .as-hero-trust {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==========================================================
   OVERVIEW SECTION – card on grey background
========================================================== */

.as-overview {
  background: transparent;
  padding: 40px 24px 24px;
}

.as-overview-inner {
  max-width: 1120px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
  padding: 40px 40px 32px;
}

.as-overview-intro {
  max-width: 640px;
  margin-bottom: 40px;
}

.as-badge-light {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(0, 118, 255, 0.08);
  color: #005ad6;
  margin-bottom: 16px;
}

.as-overview-intro h2 {
  font-size: 32px;
  margin-bottom: 12px;
  color: #04101f;
}

.as-overview-intro p {
  margin: 0;
  color: #485569;
  font-size: 16px;
}

/* ----------- GRID LAYOUT ----------- */
.as-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.as-overview-card {
  background: #f8fbff;
  border-radius: 20px;
  padding: 26px 24px 22px;
  border: 1px solid rgba(15, 98, 254, 0.16);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
  position: relative;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

/* Accent bar at the top of each card */
.as-overview-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(90deg, #0f62fe, #3b82f6, #22c55e);
}

/* Hover lift */
.as-overview-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 60px rgba(15, 23, 42, 0.18);
  border-color: rgba(15, 98, 254, 0.5);
}

.as-overview-card h3 {
  margin: 10px 0 8px;
  font-size: 18px;
  color: #051937;
}

.as-overview-card p {
  margin: 0;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.6;
}

.as-overview-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.as-overview-card li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 6px;
  font-size: 14px;
  color: #3c4b63;
}

.as-overview-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #0f62fe;
}

/* ----------- RESPONSIVE (OVERVIEW) ----------- */

@media (max-width: 991px) {
  .as-overview-inner {
    padding: 32px 24px 28px;
  }

  .as-overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .as-overview {
    padding: 32px 16px 16px;
  }

  .as-overview-intro h2 {
    font-size: 26px;
  }

  .as-overview-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================
   WHY US SECTION – card layout
========================================================== */

.as-why {
  background: transparent;
  padding: 32px 24px 24px;
}

.as-why-inner {
  max-width: 1120px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
  padding: 40px 40px 32px;
  display: flex;
  flex-wrap: nowrap;
  column-gap: 72px;
  align-items: flex-start;
}

/* LEFT COLUMN: badge + heading + paragraph */
.as-why-left {
  flex: 0 0 48%;
}

.as-why-left h2 {
  font-size: 32px;
  margin: 10px 0 12px;
  color: #04101f;
}

.as-why-left p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: #485569;
}

/* RIGHT COLUMN: bullets */
.as-why-right {
  flex: 0 0 48%;
  margin-top: 36px;
}

.as-why-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.as-why-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 15px;
  color: #1f2937;
}

/* round blue check icon */
.as-check {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 2px solid #0f62fe;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.as-check::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, #22c55e, #0f62fe);
}

/* MOBILE */
@media (max-width: 900px) {
  .as-why-inner {
    flex-direction: column;
    column-gap: 0;
    row-gap: 24px;
  }

  .as-why-right {
    margin-top: 0;
  }

  .as-why-left h2 {
    font-size: 26px;
  }
}

/* ==========================================================
   MAIN CONTENT WRAPPER (ASTRA DEFAULT)
========================================================== */

.home .entry-content {
  max-width: 1120px;
  margin: 0 auto 80px;
  padding: 0 24px;
}

/* ==========================================================
   TESTIMONIALS SECTION – card layout
========================================================== */

.as-testimonials {
  background: transparent;
  padding: 32px 24px 24px;
}

.as-testimonials-inner {
  max-width: 1120px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
  padding: 40px 40px 36px;
}

.as-testimonials-header {
  max-width: 640px;
  margin-bottom: 40px;
}

.as-testimonials-header h2 {
  font-size: 30px;
  margin: 10px 0 10px;
  color: #04101f;
}

.as-testimonials-header p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: #485569;
}

/* Cards layout */
.as-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.as-testimonial-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 22px 22px 20px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.3);
  position: relative;
  overflow: hidden;
  transition: all 0.18s ease;
}

/* little accent bar at top */
.as-testimonial-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, #0f62fe, #3b82f6);
}

.as-testimonial-quote {
  margin: 12px 0 18px;
  font-size: 14px;
  line-height: 1.7;
  color: #111827;
}

.as-testimonial-meta {
  border-top: 1px solid rgba(148, 163, 184, 0.35);
  padding-top: 10px;
}

.as-testimonial-name {
  font-weight: 600;
  font-size: 14px;
  color: #04101f;
}

.as-testimonial-role {
  font-size: 12px;
  color: #6b7280;
}

/* Hover effect */
.as-testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 60px rgba(15, 23, 42, 0.18);
  border-color: rgba(15, 98, 254, 0.5);
}

/* Responsive */
@media (max-width: 991px) {
  .as-testimonials-inner {
    padding: 32px 24px 28px;
  }

  .as-testimonials-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .as-testimonials {
    padding: 32px 16px 16px;
  }

  .as-testimonials-header h2 {
    font-size: 26px;
  }

  .as-testimonials-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================
   HOW IT WORKS / PROCESS SECTION – card layout
========================================================== */

.as-process {
  background: transparent;
  padding: 32px 24px 64px;
}

.as-process-inner {
  max-width: 1120px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
  padding: 40px 40px 36px;
}

/* Header */
.as-process-header {
  max-width: 640px;
  margin-bottom: 40px;
}

.as-process-header h2 {
  font-size: 30px;
  margin: 10px 0 10px;
  color: #04101f;
}

.as-process-header p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: #485569;
}

/* Steps layout */
.as-process-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}

.as-process-step {
  background: #f8fbff;
  border-radius: 18px;
  padding: 24px 22px 22px;
  border: 1px solid rgba(15, 98, 254, 0.16);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  position: relative;
  overflow: hidden;
  transition: all 0.18s ease;
}

.as-process-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 60px rgba(15, 23, 42, 0.18);
  border-color: rgba(15, 98, 254, 0.5);
}

/* small accent bar at top */
.as-process-step::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, #0f62fe, #3b82f6, #22c55e);
}

/* big step number */
.as-process-step-number {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #2563eb;
  margin-bottom: 10px;
}

.as-process-step h3 {
  font-size: 18px;
  margin: 4px 0 8px;
  color: #051937;
}

.as-process-step p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #4b5563;
}

/* CTA row */
.as-process-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.as-process-note {
  font-size: 13px;
  color: #6b7280;
}

/* Responsive */
@media (max-width: 991px) {
  .as-process-inner {
    padding: 32px 24px 28px;
  }

  .as-process-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .as-process {
    padding: 32px 16px 48px;
  }

  .as-process-header h2 {
    font-size: 26px;
  }

  .as-process-steps {
    grid-template-columns: 1fr;
  }
}
