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

:root {
  --blue-dark: #102a43;
  --blue: #2563eb;
  --blue-soft: #dbeafe;
  --orange: #fb923c;
  --bg-light: #f1f5f9;
  --text-main: #1f2933;
  --text-muted: #627d98;
  --radius-lg: 1.4rem;
  --shadow-soft: 0 16px 40px rgba(15, 23, 42, 0.18);
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #ffffff;
  color: var(--text-main);
  line-height: 1.6;
}

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

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

.container {
  width: 92%;
  max-width: 1180px;
  margin: 0 auto;
}

.top-bar {
  background: linear-gradient(90deg, #1d4ed8, #0ea5e9);
  color: #e5f3ff;
  font-size: 0.82rem;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.15rem 4%;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.35);
}

.header-inner {
  width: 92%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0.65rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.nav {
  display: flex;
  gap: 1.1rem;
  font-size: 0.92rem;
  align-items: center;
}

.nav a {
  padding-bottom: 0.2rem;
  border-bottom: 2px solid transparent;
  color: #334155;
  font-weight: 500;
}

.nav a:hover {
  border-bottom-color: var(--orange);
  color: var(--blue-dark);
}

.nav a.active {
  border-bottom-color: var(--orange);
  color: var(--blue-dark);
}

.nav-cta {
  /* Make “Contact” look like other nav links (no blue round pill) */
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0 0 0.2rem 0;
  margin-left: 0.4rem;
  color: #334155;
  font-weight: 500;
  border-bottom: 2px solid transparent;
}

.nav-cta:hover {
  background: transparent;
  border-bottom-color: var(--orange);
  color: var(--blue-dark);
}

.nav-cta.active {
  background: transparent;
  color: var(--blue-dark);
  border-bottom-color: var(--orange);
}

/* HERO */

.hero {
  position: relative;
  min-height: 70vh;
  background-image: url('assets/images/image3.jpg');
  background-size: cover;
  background-position: center;
  color: #f9fafb;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.92), rgba(15, 23, 42, 0.95));
  mix-blend-mode: multiply;
}

.hero-content {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2.4rem;
  padding: 2.2rem 0 2.4rem;
  align-items: center;
}

.tag {
  display: inline-block;
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(191, 219, 254, 0.9);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
  background: rgba(15, 23, 42, 0.4);
}

.hero h1 {
  font-size: clamp(2.1rem, 2.8vw + 1.4rem, 3.2rem);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.hero-text {
  font-size: 0.98rem;
  color: #e2e8f0;
  max-width: 34rem;
}

/* Compact, professional hero variations (Benefits + Contact tweaks) */
.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
  gap: 1.25rem;
  align-items: start;
}

.hero-sidecard {
  padding: 1rem 1.05rem;
  border-radius: 18px;
  border: 1px solid rgba(191, 219, 254, 0.35);
  background: rgba(15, 23, 42, 0.35);
  backdrop-filter: blur(6px);
}

.hero-sidecard h2 {
  font-size: 1.15rem;
  margin: 0 0 0.45rem;
  letter-spacing: -0.01em;
  color: #f1f5f9;
}

.hero-sidecard p {
  margin: 0;
  color: #e2e8f0;
  font-size: 0.95rem;
  line-height: 1.45;
}

.hero-inline-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.9rem;
}

/* Contact hero: use the main social buttons up top (compact + aligned) */
.hero-social {
  justify-content: flex-start;
  margin-bottom: 0;
  margin-top: 0.9rem;
}

.hero-social .social-btn {
  padding: 0.5rem 1.05rem;
  font-size: 0.93rem;
}

.pill-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(191, 219, 254, 0.35);
  background: rgba(15, 23, 42, 0.35);
  color: #f8fafc;
  text-decoration: none;
  font-size: 0.9rem;
  line-height: 1;
}

.pill-link:hover {
  background: rgba(15, 23, 42, 0.55);
  transform: translateY(-1px);
}

.pill-ico {
  width: 1.05rem;
  height: 1.05rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  gap: 0.7rem;
  margin: 1.05rem 0 0.8rem;
}

.btn {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease, color 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #f97316, #fb923c);
  color: #111827;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.5);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.6);
}

.btn-outline {
  border: 1px solid #bfdbfe;
  background: transparent;
  color: #e5e7eb;
}

.btn-outline:hover {
  background: rgba(15, 23, 42, 0.7);
}

.btn.full {
  width: 100%;
  text-align: center;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.65rem;
}

.hero-badges span {
  font-size: 0.78rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.8);
  background: rgba(15, 23, 42, 0.6);
}

.hero-right {
  display: grid;
  grid-template-areas:
    "main main"
    "small1 small2"
    "strip strip";
  gap: 0.7rem;
}

.hero-card {
  overflow: hidden;
  border-radius: 1.2rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: rgba(15, 23, 42, 0.5);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.8);
}

.hero-card img {
  width: 100%;
  height: 100%;
  /* Default behavior for non-home pages */
  object-fit: cover;
}

.hero-card.main {
  grid-area: main;
}

.hero-card.small:nth-of-type(2) {
  grid-area: small1;
}

.hero-card.small:nth-of-type(3) {
  grid-area: small2;
}

.hero-card.strip {
  grid-area: strip;
}

/* SECTIONS */

.section {
  padding: 2.6rem 0;
}

.alt-bg {
  background: var(--bg-light);
}

.gradient-bg {
  background: radial-gradient(circle at top left, #eff6ff, #e0f2fe);
}

.gradient-bg-2 {
  background: radial-gradient(circle at bottom right, #dbeafe, #f9fafb);
}

.section h2 {
  font-size: 1.8rem;
  margin-bottom: 0.6rem;
  color: var(--blue-dark);
}

.center {
  text-align: center;
}

.narrow {
  max-width: 620px;
  margin: 0.2rem auto 0;
  color: var(--text-muted);
}

.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 2rem;
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.1fr);
  gap: 2.2rem;
  align-items: flex-start;
}

.info-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.7rem;
  box-shadow: var(--shadow-soft);
  border-left: 6px solid var(--blue);
}

.info-card h3 {
  margin: 0.2rem 0 0.35rem;
  color: var(--blue-dark);
}

.info-card p + h3 {
  margin-top: 1.2rem;
}

/* STANDARDS */

.standards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.2rem;
  margin-top: 2.2rem;
}

.standard-card {
  background: #ffffff;
  border-radius: 1.1rem;
  padding: 1.1rem 1.1rem 1.3rem;
  border: 1px solid rgba(148, 163, 184, 0.5);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
}

.standard-card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  color: var(--blue-dark);
}

.standard-card .mini-intro {
  margin-top: 0.9rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(148, 163, 184, 0.35);
}

.standard-card .mini-intro h4 {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  color: var(--blue-dark);
}

.standard-card .mini-intro p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

/* SERVICES */

.split-header {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 1.2rem;
  align-items: start;
  margin-bottom: 1.25rem;
}

.split-header-left p {
  margin: 0.35rem 0 0;
  color: var(--text-muted);
}


/* Hidden during the changes, defined again below */

/*
.split-header-right {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.45);
  border-radius: var(--radius-lg);
  padding: 1rem 1rem;
  box-shadow: var(--shadow-soft);
}
*/

/* Added this styling */



.split-header-right {
  padding: 1rem 1rem;
}


/* End of Added Code */ 


.compact-title {
  margin: 0.35rem 0 0;
  font-size: 1.55rem;
  line-height: 1.25;
  color: var(--blue-dark);
  letter-spacing: -0.01em;
}



.mini-standards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
}

.mini-standard {
  display: grid;
  grid-template-columns: 105px 1fr;
  gap: 0.7rem;
  align-items: start;
}

.mini-standard strong {
  color: var(--blue-dark);
}

.mini-standard span {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.4;
}

.services-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.8rem;
  margin-top: 2rem;
}

.services-column {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.8rem 1.7rem;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.15);
}

.services-column h3 {
  margin-top: 0;
  margin-bottom: 0.7rem;
  color: var(--blue-dark);
}

.services-column ul {
  margin: 0.6rem 0 0;
  padding-left: 1.2rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.services-column li + li {
  margin-top: 0.25rem;
}

.mt {
  margin-top: 1.4rem;
}

/* BENEFITS */

.benefits-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
}

.benefit-card {
  background: #ffffff;
  border-radius: 1.15rem;
  padding: 1.5rem 1.5rem 1.6rem;
  border: 1px solid rgba(148, 163, 184, 0.5);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.12);
}

/* WHY CHOOSE US */

.why-list {
  margin: 0.85rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--text-muted);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.why-list li + li {
  margin-top: 0;
}

.why-list li {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(148, 163, 184, 0.45);
  border-radius: var(--radius-lg);
  padding: 0.95rem 1rem;
  box-shadow: var(--shadow-soft);
}

@media (max-width: 768px) {
  .why-list {
    grid-template-columns: 1fr;
  }
}

.gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}

.gallery-card {
  background: #ffffff;
  border-radius: 1.2rem;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.gallery-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.gallery-card figcaption {
  padding: 0.7rem 1rem 0.9rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* CONTACT */

.contact-section {
  padding-top: 3.5rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 2rem;
  align-items: flex-start;
}

.contact-info h2 {
  margin-top: 0;
}

.contact-info p {
  color: var(--text-muted);
}

.contact-block {
  margin-top: 1.1rem;
}

.contact-block h3 {
  margin: 0 0 0.2rem;
  color: var(--blue-dark);
}

.contact-form {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.8rem 1.7rem;
  box-shadow: var(--shadow-soft);
}

.contact-form h3 {
  margin-top: 0;
}

.form-row {
  margin-bottom: 0.8rem;
}

input,
textarea {
  width: 100%;
  padding: 0.65rem 0.8rem;
  border-radius: 0.8rem;
  border: 1px solid #cbd5e1;
  font: inherit;
  outline: none;
  transition: border 0.15s ease, box-shadow 0.15s ease;
}

input:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18);
}

textarea {
  resize: vertical;
}

.form-note {
  margin-top: 0.4rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* FOOTER */

.footer {
  background: #020617;
  color: #e5e7eb;
  padding: 1.2rem 0 1.6rem;
  margin-top: 2.5rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.back-to-top {
  color: #bfdbfe;
}

/* RESPONSIVE */

@media (max-width: 950px) {
  .hero-content {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.9fr);
  }
}

@media (max-width: 820px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    flex-wrap: wrap;
    gap: 0.6rem;
  }

  .hero-content {
    grid-template-columns: 1fr;
  }

  .hero-split {
    grid-template-columns: 1fr;
  }

  .split-header {
    grid-template-columns: 1fr;
  }

  .hero-right {
    margin-top: 1rem;
  }

  .two-col,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    gap: 0.35rem;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .top-bar-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    min-height: auto;
  }

  .section {
    padding: 3rem 0;
  }
}


.standards-bg{
  background:url('assets/images/bg_standards_custom.jpg') center/cover fixed no-repeat;
}

.benefits-bg{
  background:url('assets/images/bg_benefits.jpg') center/cover fixed no-repeat;
}

.services-bg{
  background:url('assets/images/bg_why_parallax.jpg') center/cover fixed no-repeat;
}

.why-bg{
  background:url('assets/images/bg_why_parallax.jpg') center/cover fixed no-repeat;
}

.contact-bg{
  background:url('assets/images/bg_contact_custom.jpg') center/cover fixed no-repeat;
}


/* Lighter hero overlay on Services & Benefits so background image is more visible */
.services-bg .hero-overlay,
.benefits-bg .hero-overlay {
  background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.35), rgba(15, 23, 42, 0.55));
}


/* Parallax backgrounds */

.about-parallax {
  position: relative;
  background: url('assets/images/bg_about_parallax.png') center/cover fixed no-repeat;
}

.about-parallax .container {
  position: relative;
  z-index: 1;
}

.services-parallax {
  position: relative;
  background: url('assets/images/bg_services_parallax.jpg') center/cover fixed no-repeat;
}

.services-parallax .container {
  position: relative;
  z-index: 1;
}

/* Services page: ensure the split header intro is readable on the parallax background */
.services-parallax .split-header-left .tag {
  color: #ffffff;
  border-color: rgba(191, 219, 254, 0.8);
  background: rgba(15, 23, 42, 0.45);
}

/* Added code */ 

.tag-right{
  padding-top: 0px;
}

.services-parallax .compact-title {
  color: #ffffff;
  text-shadow: 0 10px 24px rgba(15, 23, 42, 0.55);
}

/* Services page: place the two intro blocks side-by-side */
.services-split {
  align-items: stretch;
}

.services-split-right {
  padding: 1rem 1.15rem;
}

.services-split-right .tag-dark {
  display: inline-block;
  margin: 0;
  color: var(--blue-dark);
  border-color: rgba(59, 130, 246, 0.35);
  background: rgba(59, 130, 246, 0.10);
}

.services-split-title {
  margin: 0.55rem 0 0.35rem;
  font-size: 1.35rem;
  line-height: 1.2;
  color: var(--blue-dark);
}

.services-split-text {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.55;
}

.mini-standards-wrap {
  margin-top: 0.85rem;
}

.mini-standards-box {
  padding: 0.95rem 1rem;
}

/* Contact hero: place WhatsApp QR next to social contact buttons */
.hero-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: stretch;
  margin-top: 1.1rem;
}

.hero-contact-actions .hero-social {
  margin: 0;
}

.qr-mini {
  width: min(220px, 100%);
  border: 1px solid rgba(191, 219, 254, 0.55);
  background: rgba(15, 23, 42, 0.45);
  border-radius: 14px;
  padding: 0.75rem;
}

.qr-mini h4 {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
}

.qr-mini p {
  margin: 0 0 0.55rem;
  color: #e2e8f0;
  font-size: 0.86rem;
  line-height: 1.35;
}

.qr-mini img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

.benefits-parallax {
  position: relative;
  background: url('assets/images/bg_benefits.jpg') center/cover fixed no-repeat;
}

.benefits-parallax .container {
  position: relative;
  z-index: 1;
}

/* Social links section on Contact page */
.social-links {
  text-align: center;
  margin-top: 2.5rem;
}

.social-links h3 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.social-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1.3rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  color: #f9fafb;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.social-btn .icon {
  font-size: 1.1rem;
}

/* Brand colors */
.social-btn.whatsapp { background: #25D366; }
.social-btn.facebook { background: #1877F2; }
.social-btn.linkedin { background: #0A66C2; }
.social-btn.instagram {
  background: linear-gradient(135deg, #F58529, #DD2A7B, #8134AF);
}

.social-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.3);
  opacity: 0.95;
}

/* QR styling */
.qr-wrapper {
  margin-top: 0.5rem;
}

.qr-note {
  margin-bottom: 0.75rem;
  color: #475569;
}

.qr-image {
  max-width: 220px;
  width: 100%;
  border-radius: 1.2rem;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.28);
}


.info-card h2 {
  margin-top: 0;
  margin-bottom: 0.7rem;
  color: var(--blue-dark);
}


/* Stronger overlay on Why Chitetezo hero for readability */
.why-bg .hero-overlay {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.78), rgba(15, 23, 42, 0.55));
}


/* Full-width header banner */
header, .navbar, .brand {
  width: 100% !important;
}

.nav-inner {
  width: 100% !important;
}

/* Force header image to display full width */
header img, .brand img, .logo img {
  width: 100% !important;
  height: auto !important;
  display: block;
}



.why-intro-box {
  background: rgba(0,0,0,0.55);
  padding: 1.2rem 1.5rem;
  border-radius: 12px;
  color: #fff;
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  line-height: 1.55rem;
}




/* Parallax effect for hero sections */
.hero {
  background-attachment: fixed;
}


/* White card for Why Chitetezo hero text */
.hero-why-card {
  max-width: 40rem;
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.45);
}

.hero-why-card .tag {
  background: rgba(248, 250, 252, 0.95);
  border-color: rgba(148, 163, 184, 0.55);
  color: #0f172a;
}

.hero-why-card h1 {
  color: #0f172a;
}

.hero-why-card .hero-text,
.hero-why-card .hero-text-dark {
  color: #1f2937;
}




/* === Refined brand logo in header (small, professional) === */

.brand-logo-text {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  background: radial-gradient(circle at top left, rgba(37,99,235,0.12), transparent 65%);
  border: 1px solid rgba(148, 163, 184, 0.55);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.brand-logo-text:hover {
  background: radial-gradient(circle at top left, rgba(37,99,235,0.18), transparent 70%);
  border-color: rgba(37,99,235,0.6);
}

.brand-mark {
  display: none; /* tick/check mark removed */
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-title {
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #0f172a;
}

.brand-subtitle {
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #1d4ed8;
}

/* keep header compact */
.header-inner {
  padding: 0.45rem 0;
}

/* =====================
   Compact layout tweaks
   ===================== */

.compact-page .section {
  padding: 1.85rem 0;
}

.compact-page .section-header {
  margin: 0 auto 1.15rem;
}

.compact-page .standards-grid,
.compact-page .services-layout,
.compact-page .benefits-grid {
  margin-top: 1.15rem;
}

.compact-page .standards-grid {
  gap: 0.95rem;
}

.compact-page .standard-card {
  padding: 0.85rem 0.9rem 0.95rem;
}

.compact-page .services-layout {
  gap: 1.1rem;
}

.compact-page .services-column {
  padding: 1.25rem 1.25rem;
}

.compact-page .benefits-grid {
  gap: 1.1rem;
}

.compact-page .benefit-card {
  padding: 1.15rem 1.15rem 1.2rem;
}

.compact-page .gallery-card img {
  height: 150px;
}

.compact-page .contact-section {
  padding-top: 2.2rem;
}

.compact-page .contact-layout {
  gap: 1.4rem;
}

.compact-page .contact-form {
  padding: 1.35rem 1.35rem;
}

.compact-page .footer {
  margin-top: 1.2rem;
}

/* Inner pages: shorter hero so page content fits on one screen (desktop) */
.compact-page:not(.home) .hero {
  min-height: 32vh;
}

.compact-page:not(.home) .hero-content {
  grid-template-columns: 1fr;
  padding: 1.4rem 0 1.6rem;
}

.compact-page:not(.home) .hero h1 {
  font-size: clamp(1.6rem, 1.6vw + 1.1rem, 2.25rem);
  margin-bottom: 0.7rem;
}

/* Home: keep the core message visible without scrolling */
.home .hero {
  min-height: calc(100vh - 120px);
}

.home .hero h1 {
  font-size: clamp(1.85rem, 2.4vw + 1.2rem, 2.65rem);
  margin-bottom: 0.8rem;
}

.home .hero-text {
  font-size: 0.95rem;
}

.home .hero-right {
  /* Match the desired layout: big image on top, two smaller images under it */
  grid-template-areas:
    "main main"
    "secondary tertiary";
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 2fr 1fr;
  height: clamp(300px, 48vh, 520px);
}

/* Home hero images: show the FULL image (no cropping / no cut logos) */
.home .hero-card img {
  object-fit: contain;
}

/* Subtle background for any extra space when using object-fit: contain */
.home .hero-card {
  background: rgba(255, 255, 255, 0.9);
}

.home .hero-card.secondary { grid-area: secondary; }
.home .hero-card.tertiary { grid-area: tertiary; }

/* Ensure both words + pictures are visible without scrolling on common laptop screens */
.home .hero-content {
  padding: 1.7rem 0 1.7rem;
  align-items: center;
}

@media (max-width: 980px) {
  /* On smaller screens, stack but keep images visible (no "disappearing" images) */
  .home .hero-content {
    grid-template-columns: 1fr;
  }
  .home .hero-right {
    height: clamp(260px, 40vh, 420px);
  }
}


/* =========================================================
   CONTACT ICONS ONLY (no pills) — Contact page only
   ========================================================= */
body.contact-bg .hero-social{
  justify-content: flex-start;
  gap: 0.9rem;
}

body.contact-bg .hero-social .social-btn{
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  min-width: 0 !important;
  height: auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Hide the label text so it's icons only */
body.contact-bg .hero-social .social-btn > span:not(.icon){
  display: none !important;
}

/* Icon: no surrounding oval/shape */
body.contact-bg .hero-social .social-btn .icon{
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* If font/text icons used */
body.contact-bg .hero-social .social-btn .icon{
  font-size: 28px;
  line-height: 1;
}

/* Brand-colored icons (applies to SVG currentColor too) */
body.contact-bg .hero-social .social-btn.whatsapp .icon{ color: #25D366; }
body.contact-bg .hero-social .social-btn.facebook .icon{ color: #1877F2; }
body.contact-bg .hero-social .social-btn.linkedin .icon{ color: #0A66C2; }
body.contact-bg .hero-social .social-btn.instagram .icon{ color: #d62976; }


/* =========================================================
   CONTACT ICON COLORS (SVG) — Contact page only
   ========================================================= */
body.contact-bg .hero-social .social-btn .icon{
  color: inherit;
}

body.contact-bg .hero-social .social-btn.whatsapp .icon{ color: #25D366 !important; }
body.contact-bg .hero-social .social-btn.facebook .icon{ color: #1877F2 !important; }
body.contact-bg .hero-social .social-btn.linkedin .icon{ color: #0A66C2 !important; }
body.contact-bg .hero-social .social-btn.instagram .icon{ color: #E1306C !important; }

body.contact-bg .hero-social .social-btn .icon svg{
  width: 28px;
  height: 28px;
  display: block;
}


/* =========================================================
   CONTACT ICON CONTRAST FIX — Contact page only
   Makes colored icons visible on parallax background
   ========================================================= */

/* Slightly darken the contact hero background overlay (no layout changes) */
body.contact-bg .hero::before,
body.contact-bg .contact-hero::before{
  background: rgba(3, 8, 20, 0.70) !important;
}

/* Add subtle glow/outline to icons without adding any oval shapes */
body.contact-bg .hero-social .social-btn .icon{
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.65)) drop-shadow(0 0 1px rgba(255,255,255,0.25));
}

/* Optional: make SVG slightly bolder by scaling a touch */
body.contact-bg .hero-social .social-btn .icon svg{
  transform: scale(1.06);
}


/* =========================================================
   CONTACT ICON VISIBILITY COLORS — Contact page only
   Adjust colors to contrast dark blue parallax
   ========================================================= */

/* WhatsApp stays green */
body.contact-bg .hero-social .social-btn.whatsapp .icon{
  color: #25D366 !important;
}

/* Facebook: lighter cyan-blue for contrast */
body.contact-bg .hero-social .social-btn.facebook .icon{
  color: #4FC3F7 !important;
}

/* LinkedIn: bright sky-blue for contrast */
body.contact-bg .hero-social .social-btn.linkedin .icon{
  color: #81D4FA !important;
}

/* Instagram stays vivid */
body.contact-bg .hero-social .social-btn.instagram .icon{
  color: #E1306C !important;
}


/* =========================================================
   CONTACT ICON WHITE OVAL — Contact page only
   Improves visibility on dark parallax background
   ========================================================= */

body.contact-bg .hero-social .social-btn{
  background: none !important;
  padding: 0 !important;
}

/* White oval container */
body.contact-bg .hero-social .social-btn .icon{
  background: #ffffff !important;
  border-radius: 999px;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

/* Icon sizes */
body.contact-bg .hero-social .social-btn .icon svg{
  width: 26px;
  height: 26px;
}

/* Brand colors inside white oval */
body.contact-bg .hero-social .social-btn.whatsapp .icon svg{
  color: #25D366;
}

body.contact-bg .hero-social .social-btn.facebook .icon svg{
  color: #1877F2;
}

body.contact-bg .hero-social .social-btn.linkedin .icon svg{
  color: #0A66C2;
}

body.contact-bg .hero-social .social-btn.instagram .icon svg{
  color: #E1306C;
}


/* About Us - white oval boxes */
.oval-grid{
  display: grid;
  gap: 1rem;
  margin-top: 1.2rem;
}
.oval-box{
  background: rgba(255,255,255,0.95);
  border-radius: 999px;
  padding: 1.1rem 1.4rem;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
  color: #0f172a;
}
.oval-box p{
  margin: 0;
  line-height: 1.6;
}
@media (max-width: 520px){
  .oval-box{ border-radius: 28px; }
}
