/* ==========================================================================
   Ayyan Systems — Common Service Centre Website
   Colors pulled from brand logo: Navy + Red, on plain white base
   ========================================================================== */

:root {
  --as-navy: #0d2b5c;
  --as-navy-dark: #081a3a;
  --as-red: #d92b2b;
  --as-red-dark: #b81f1f;
  --as-gold: #f0a500;
  --as-bg: #ffffff;
  --as-bg-soft: #f7f8fa;
  --as-text: #26292e;
  --as-text-light: #6b7280;
  --as-border: #e6e8ec;
  --as-radius: 10px;
  --as-shadow: 0 4px 18px rgba(13, 43, 92, 0.08);
  --as-shadow-hover: 0 10px 28px rgba(13, 43, 92, 0.14);
  --font-main: 'Segoe UI', 'Poppins', Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', var(--font-main);
  color: var(--as-text);
  background: var(--as-bg);
  line-height: 1.6;
}

i.fa-solid, i.fa-brands, i.fa-regular { line-height: 1; }

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.as-container {
  width: 100%;
  max-width: 1700px;
  margin: 0 auto;
  padding: 0 24px;
}

.as-section { padding: 70px 0; }
.as-section-soft { background: var(--as-bg-soft); }

.as-eyebrow {
  display: inline-block;
  color: var(--as-red);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.as-section-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--as-navy);
  margin-bottom: 14px;
}

.as-section-title span { color: var(--as-red); }

.as-section-sub {
  color: var(--as-text-light);
  font-size: 15.5px;
  max-width: 620px;
}

.as-center { text-align: center; margin: 0 auto 44px; }
.as-center .as-section-sub { margin: 0 auto; }

.as-divider {
  width: 70px;
  height: 3px;
  background: var(--as-gold);
  margin: 16px auto 0;
  border-radius: 2px;
}

/* ---------- Buttons ---------- */
.as-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 14.5px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .2s ease;
}

.as-btn-primary { background: var(--as-gold); color: var(--as-navy-dark); }
.as-btn-primary:hover { background: #d99400; transform: translateY(-2px); }

.as-btn-outline { border-color: #ffffff; color: #ffffff; background: transparent; }
.as-btn-outline:hover { background: #ffffff; color: var(--as-navy); }

.as-btn-navy { background: var(--as-navy); color: #fff; }
.as-btn-navy:hover { background: var(--as-navy-dark); transform: translateY(-2px); }

/* ---------- Top Info Bar ---------- */
.as-topbar {
  background: var(--as-navy-dark);
  color: #dbe3f0;
  font-size: 13px;
}
.as-topbar .as-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  padding-bottom: 8px;
  flex-wrap: wrap;
  gap: 8px;
}
.as-topbar-left { display: flex; gap: 22px; flex-wrap: wrap; }
.as-topbar-left span, .as-topbar-right span { display: inline-flex; align-items: center; gap: 6px; }
.as-topbar a { color: #dbe3f0; }
.as-topbar-right { display: flex; gap: 18px; align-items: center; }
.as-govt-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.08);
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .3px;
}

/* ---------- Header ---------- */
.as-header {
  background: #fff;
  border-bottom: 1px solid var(--as-border);
  position: sticky;
  top: 0;
  z-index: 500;
}
.as-header .as-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
  gap: 20px;
}
.as-logo { display: flex; align-items: center; gap: 12px; }
.as-logo img { height: 58px; width: auto; }
.as-logo-text .as-logo-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--as-navy);
  letter-spacing: .3px;
  line-height: 1.1;
}
.as-logo-text .as-logo-sub {
  font-size: 11.5px;
  color: var(--as-red);
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.as-nav { display: flex; align-items: center; gap: 34px; }
.as-nav ul { display: flex; gap: 30px; }
.as-nav a {
  font-weight: 600;
  font-size: 14.5px;
  color: var(--as-text);
  position: relative;
  padding: 6px 0;
}
.as-nav a:hover, .as-nav a.active { color: var(--as-red); }

.as-chevron { font-size: 10px; margin-left: 3px; transition: transform .2s ease; }
.as-has-dropdown:hover .as-chevron { transform: rotate(180deg); }
.as-has-dropdown { position: relative; }
.as-dropdown {
  position: absolute;
  top: 100%;
  left: -14px;
  background: #fff;
  min-width: 240px;
  box-shadow: var(--as-shadow-hover);
  border-radius: 8px;
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all .2s ease;
  border: 1px solid var(--as-border);
}
.as-has-dropdown:hover .as-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.as-dropdown li a { padding: 9px 20px; display: block; font-weight: 500; font-size: 14px; }
.as-dropdown li a:hover { background: var(--as-bg-soft); color: var(--as-red); }

.as-header-cta { display: flex; align-items: center; gap: 14px; }
.as-header-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--as-navy);
  color: #fff;
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 14.5px;
}
.as-header-phone .as-phone-icon {
  width: 30px; height: 30px;
  background: var(--as-gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  color: var(--as-navy-dark);
}

.as-menu-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.as-menu-toggle span { width: 26px; height: 3px; background: var(--as-navy); border-radius: 2px; transition: all .25s ease; }
.as-menu-toggle.as-active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.as-menu-toggle.as-active span:nth-child(2) { opacity: 0; }
.as-menu-toggle.as-active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Mobile Nav Panel ---------- */
.as-mobile-nav {
  display: none;
  background: #fff;
  border-top: 1px solid var(--as-border);
  box-shadow: var(--as-shadow);
}
.as-mobile-nav.as-open { display: block; }
.as-mobile-nav .as-container {
  padding: 18px 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.as-mobile-nav a {
  font-weight: 700;
  font-size: 15px;
  color: var(--as-navy);
  padding: 12px 4px;
  border-bottom: 1px solid var(--as-border);
}
.as-mobile-nav a:last-child { border-bottom: none; }
.as-mobile-nav a:hover, .as-mobile-nav a.active { color: var(--as-red); }

/* ---------- Trust / Govt strip ---------- */
.as-trust-strip {
  background: #fff;
  border-bottom: 1px solid var(--as-border);
  padding: 20px 0;
}
.as-trust-strip .as-container {
  display: flex;
  justify-content: center;
  gap: 46px;
  flex-wrap: wrap;
}
.as-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--as-navy);
}
.as-trust-item .as-trust-icon {
  width: 36px; height: 36px;
  background: var(--as-bg-soft);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--as-red);
  font-size: 17px;
}

/* ---------- Services ---------- */
.as-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 26px;
}
.as-service-card {
  background: #fff;
  border: 1px solid var(--as-border);
  border-radius: var(--as-radius);
  padding: 30px 26px;
  box-shadow: var(--as-shadow);
  transition: all .25s ease;
  border-top: 3px solid var(--as-navy);
}
.as-service-card:hover { box-shadow: var(--as-shadow-hover); transform: translateY(-6px); border-top-color: var(--as-red); }
.as-service-icon-wrap {
  width: 64px; height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--as-navy), var(--as-navy-dark));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  overflow: hidden;
  font-size: 26px;
  color: var(--as-gold);
  box-shadow: 0 8px 18px rgba(13,43,92,0.22);
  transition: all .25s ease;
}
.as-service-card:hover .as-service-icon-wrap {
  background: linear-gradient(135deg, var(--as-red), var(--as-red-dark));
  transform: scale(1.06) rotate(-3deg);
  color: #fff;
}
.as-service-icon-wrap img { width: 100%; height: 100%; object-fit: cover; }
.as-service-card h3 {
  font-size: 17.5px;
  font-weight: 700;
  color: var(--as-navy);
  margin-bottom: 10px;
}
.as-service-card p { font-size: 13.8px; color: var(--as-text-light); margin-bottom: 14px; }
.as-service-list { display: flex; flex-direction: column; gap: 6px; }
.as-service-list li {
  font-size: 13.2px;
  color: var(--as-text);
  padding-left: 18px;
  position: relative;
}
.as-service-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 6px; height: 6px;
  background: var(--as-gold);
  border-radius: 50%;
}
.as-service-list li.as-more { color: var(--as-red); font-weight: 700; padding-left: 0; }
.as-service-list li.as-more::before { display: none; }

.as-view-all-wrap { text-align: center; margin-top: 46px; }

/* ---------- Why Choose Us ---------- */
.as-why-strip {
  background: var(--as-navy);
  color: #fff;
  padding: 46px 0;
}
.as-why-strip .as-eyebrow { color: var(--as-gold); }
.as-why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 24px;
  margin-top: 24px;
}
.as-why-item { display: flex; align-items: center; gap: 14px; }
.as-why-icon {
  width: 50px; height: 50px;
  background: rgba(255,255,255,.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  color: var(--as-gold);
  flex-shrink: 0;
}
.as-why-item h4 { font-size: 20px; font-weight: 800; }
.as-why-item span { font-size: 13px; color: #c6d0e4; }

/* ---------- About ---------- */
.as-about-grid {
  display: grid;
  grid-template-columns: 0.7fr 1fr;
  gap: 54px;
  align-items: center;
}
.as-about-media { position: relative; }
.as-about-media-main { border-radius: var(--as-radius); overflow: hidden; box-shadow: var(--as-shadow-hover); }
.as-about-media-float {
  position: absolute;
  bottom: -26px;
  right: -26px;
  width: 46%;
  border-radius: var(--as-radius);
  overflow: hidden;
  border: 5px solid #fff;
  box-shadow: var(--as-shadow-hover);
}
.as-about-points { margin-top: 22px; display: flex; flex-direction: column; gap: 14px; }
.as-about-point { display: flex; align-items: flex-start; gap: 12px; }
.as-about-point .as-check {
  width: 26px; height: 26px;
  background: var(--as-navy);
  color: var(--as-gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
  margin-top: 2px;
}
.as-about-point strong { color: var(--as-navy); }
.as-about-point p { font-size: 13.8px; color: var(--as-text-light); margin: 0; }

/* ---------- Reviews ---------- */
.as-review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 26px;
}
.as-review-card {
  background: #fff;
  border: 1px solid var(--as-border);
  border-radius: var(--as-radius);
  padding: 28px;
  box-shadow: var(--as-shadow);
}
.as-review-top { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.as-review-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--as-navy), var(--as-navy-dark));
  color: var(--as-gold);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
}
.as-review-name { font-weight: 700; color: var(--as-navy); font-size: 14.5px; }
.as-review-stars { color: var(--as-gold); font-size: 12px; display: flex; gap: 3px; margin-top: 2px; }
.as-review-card { border-top: 3px solid var(--as-gold); }
.as-review-card p { font-size: 13.8px; color: var(--as-text-light); }

/* ---------- Contact / Map ---------- */
.as-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
}
.as-contact-info { display: flex; flex-direction: column; gap: 20px; }
.as-contact-item { display: flex; gap: 16px; align-items: flex-start; }
.as-contact-icon {
  width: 46px; height: 46px;
  background: var(--as-navy);
  color: var(--as-gold);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 19px;
  flex-shrink: 0;
}
.as-contact-item h4 { font-size: 15px; color: var(--as-navy); margin-bottom: 4px; }
.as-contact-item p, .as-contact-item a { font-size: 13.8px; color: var(--as-text-light); display: block; }
.as-map-frame {
  border-radius: var(--as-radius);
  overflow: hidden;
  border: 1px solid var(--as-border);
  
  min-height: 320px;
}
.as-map-frame iframe { width: 100%; height: 100%; min-height: 320px; border: 0; }

/* ---------- CTA Band ---------- */
.as-cta-band {
  background: linear-gradient(120deg, var(--as-navy), var(--as-navy-dark));
  color: #fff;
  padding: 46px 0;
  text-align: center;
}
.as-cta-band h2 { font-size: 26px; font-weight: 800; margin-bottom: 10px; }
.as-cta-band p { color: #cfd8ea; margin-bottom: 22px; }
.as-cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.as-footer { background: var(--as-navy-dark); color: #c6cedd; padding-top: 60px; }
.as-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.as-footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.as-footer-logo img { height: 46px; }
.as-footer-logo-title { color: #fff; font-weight: 800; font-size: 17px; }
.as-footer-logo-sub { color: var(--as-gold); font-size: 10.5px; font-weight: 700; letter-spacing: 1px; }
.as-footer p { font-size: 13.3px; line-height: 1.7; }
.as-footer h4 { color: #fff; font-size: 15px; margin-bottom: 18px; font-weight: 700; }
.as-footer ul li { margin-bottom: 10px; }
.as-footer ul li a { font-size: 13.3px; display: flex; align-items: center; gap: 8px; }
.as-footer ul li a:hover { color: var(--as-gold); }
.as-footer-social { display: flex; gap: 10px; margin-top: 18px; }
.as-footer-social a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.08);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.as-footer-social a:hover { background: var(--as-red); }
.as-footer-bottom {
  text-align: center;
  padding: 20px 0;
  font-size: 12.8px;
  color: #90a0bf;
}

/* ---------- Floating WhatsApp ---------- */
.as-whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 58px; height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 28px;
  box-shadow: 0 8px 22px rgba(0,0,0,.25);
  z-index: 600;
  animation: as-pulse 2.2s infinite;
}
@keyframes as-pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); }
  70% { box-shadow: 0 0 0 14px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ---------- Inner Page Hero ---------- */
.as-page-hero {
  background: linear-gradient(120deg, var(--as-navy), var(--as-navy-dark));
  color: #fff;
  padding: 54px 0 46px;
  position: relative;
  overflow: hidden;
}
.as-page-hero::after {
  content: "";
  position: absolute;
  right: -80px; top: -80px;
  width: 260px; height: 260px;
  background: rgba(240,165,0,0.12);
  border-radius: 50%;
}
.as-page-hero h1 { font-size: 34px; font-weight: 800; margin-bottom: 10px; }
.as-page-hero h1 span { color: var(--as-gold); }
.as-breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: #c6d0e4; }
.as-breadcrumb a { color: #c6d0e4; font-weight: 600; }
.as-breadcrumb a:hover { color: var(--as-gold); }
.as-breadcrumb i { font-size: 10px; }
.as-breadcrumb .as-current { color: var(--as-gold); font-weight: 700; }

/* ---------- Mission / Vision ---------- */
.as-mv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 26px;
}
.as-mv-card {
  background: #fff;
  border: 1px solid var(--as-border);
  border-radius: var(--as-radius);
  padding: 30px 26px;
  box-shadow: var(--as-shadow);
  border-left: 4px solid var(--as-gold);
}
.as-mv-card i { font-size: 30px; color: var(--as-red); margin-bottom: 16px; display: block; }
.as-mv-card h3 { color: var(--as-navy); font-size: 18px; font-weight: 800; margin-bottom: 10px; }
.as-mv-card p { color: var(--as-text-light); font-size: 14px; }

/* ---------- Process Steps ---------- */
.as-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 26px;
  counter-reset: as-step;
}
.as-step-card { position: relative; padding: 30px 22px 22px; background: #fff; border: 1px solid var(--as-border); border-radius: var(--as-radius); box-shadow: var(--as-shadow); text-align: center; }
.as-step-num {
  width: 44px; height: 44px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--as-navy);
  color: var(--as-gold);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 17px;
}
.as-step-card h4 { color: var(--as-navy); font-size: 15.5px; font-weight: 700; margin-bottom: 8px; }
.as-step-card p { color: var(--as-text-light); font-size: 13.2px; }

/* ---------- Services Detail Page Extras ---------- */
.as-service-filter { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px; }
.as-service-filter button {
  border: 2px solid var(--as-border);
  background: #fff;
  color: var(--as-navy);
  font-weight: 700;
  font-size: 13.2px;
  padding: 9px 18px;
  border-radius: 30px;
  cursor: pointer;
  transition: all .2s ease;
}
.as-service-filter button:hover, .as-service-filter button.active { background: var(--as-navy); border-color: var(--as-navy); color: #fff; }

/* ---------- Contact Form ---------- */
.as-contact-form-wrap {
  background: #fff;
  border: 1px solid var(--as-border);
  border-radius: var(--as-radius);
  padding: 34px;
  box-shadow: var(--as-shadow);
}
.as-contact-form-wrap h3 { color: var(--as-navy); font-size: 19px; font-weight: 800; margin-bottom: 6px; }
.as-contact-form-wrap > p { color: var(--as-text-light); font-size: 13.8px; margin-bottom: 24px; }
.as-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.as-form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.as-form-group label { font-size: 13px; font-weight: 700; color: var(--as-navy); }
.as-form-group input, .as-form-group select, .as-form-group textarea {
  border: 1.5px solid var(--as-border);
  border-radius: 6px;
  padding: 11px 14px;
  font-family: inherit;
  font-size: 14px;
  color: var(--as-text);
  outline: none;
  transition: border-color .2s ease;
}
.as-form-group input:focus, .as-form-group select:focus, .as-form-group textarea:focus { border-color: var(--as-navy); }
.as-form-note { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--as-text-light); margin-top: 6px; }
.as-form-msg { padding: 12px 16px; border-radius: 6px; font-size: 13.5px; font-weight: 600; margin-bottom: 18px; }
.as-form-msg.success { background: #e6f6ea; color: #1e7a34; }
.as-form-msg.error { background: #fdecec; color: var(--as-red-dark); }

@media (max-width: 640px) {
  .as-form-row { grid-template-columns: 1fr; }
  .as-page-hero h1 { font-size: 26px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .as-hero-grid, .as-about-grid, .as-contact-grid { grid-template-columns: 1fr; }
  .as-footer-grid { grid-template-columns: 1fr 1fr; }
  .as-about-media-float { display: none; }
  .as-nav ul { display: none; }
  .as-menu-toggle { display: flex; }
  .as-why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .as-topbar { display: none; }
}
@media (max-width: 640px) {
  .as-topbar .as-container { flex-direction: column; align-items: flex-start; }
  .as-hero h1 { font-size: 30px; }
  .as-hero-features { grid-template-columns: 1fr; }
  .as-footer-grid { grid-template-columns: 1fr; }
  .as-section { padding: 50px 0; }
  .as-section-title { font-size: 26px; }

  /* Force single column on grids so nothing looks squeezed */
  .as-why-grid,
  .as-services-grid,
  .as-mv-grid,
  .as-steps-grid,
  .as-review-grid {
    grid-template-columns: 1fr;
  }

  .as-trust-strip .as-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .as-header .as-container { gap: 10px; }
  .as-header-phone span:last-child { display: none; }
  .as-header-phone { padding: 10px 12px; }
  .as-header-phone .as-phone-icon { width: 26px; height: 26px; font-size: 13px; }
  .as-logo img { height: 46px; }

  .as-page-hero { padding: 40px 0 34px; }
  .as-page-hero h1 { font-size: 24px; }
}	