:root {
  --blue: #0872c6;
  --navy: #153a67;
  --ink: #19334c;
  --muted: #647b91;
  --pale: #eef8ff;
  --line: #dbeaf5;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background: white;
  line-height: 1.65;
}

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

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

.container {
  max-width: 1180px;
  margin: auto;
  padding: 0 24px;
}

/* Topline */
.topline {
  background: #edf7ff;
  color: #416785;
  font-size: 12px;
  padding: 7px 0;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 9;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 5px 20px #164b7810;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 78px;
}

.brand {
  font-weight: 850;
  letter-spacing: -0.6px;
  font-size: 24px;
  color: var(--navy);
}

.brand span {
  color: #1696dc;
}

.brand small {
  display: block;
  font-size: 9px;
  letter-spacing: 2px;
  color: #68859d;
  margin-top: -7px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 17px;
}

.nav a {
  font-size: 13px;
  font-weight: 650;
  color: #375772;
}

.nav a:hover,
.nav a.active {
  color: var(--blue);
}

/* Buttons */
.btn {
  display: inline-block;
  background: var(--blue);
  color: white !important;
  border-radius: 7px;
  padding: 12px 19px;
  font-weight: 700;
  font-size: 13px;
  border: 1px solid var(--blue);
  cursor: pointer;
  transition: 0.2s;
}

.btn:hover {
  background: #0660a8;
}

.btn.secondary {
  background: white;
  color: var(--blue) !important;
}

.btn.secondary:hover {
  background: #f0f8ff;
}

.menu-btn {
  display: none;
  background: white;
  border: 1px solid var(--line);
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
}

/* Typography */
.eyebrow {
  text-transform: uppercase;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  display: block;
}

h1 {
  font-size: clamp(35px, 4.5vw, 58px);
  line-height: 1.13;
  color: var(--navy);
  letter-spacing: -1.5px;
  margin: 18px 0;
}

h2 {
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.2;
  color: var(--navy);
  margin: 12px 0 18px;
  letter-spacing: -0.8px;
}

h3 {
  color: var(--navy);
  font-size: 19px;
  margin: 8px 0;
}

p {
  color: #59728a;
  margin: 8px 0 20px;
}

/* Hero (Home) */
.hero {
  background: linear-gradient(115deg, #f5fbff 0%, #e9f6ff 70%, #d9f0ff 100%);
  padding: 85px 0;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
}

.hero p {
  font-size: 17px;
  max-width: 640px;
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 27px;
}

.visual {
  background: white;
  border: 1px solid #d5e9f8;
  border-radius: 18px;
  box-shadow: 0 24px 65px #1269b022;
  padding: 10px;
  position: relative;
  min-height: 360px;
}

.visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  min-height: 340px;
}

/* Page Hero (About & Solutions) */
.page-hero {
  background: linear-gradient(115deg, #f5fbff 0%, #e9f6ff 70%, #d9f0ff 100%);
  padding-top: 65px;
  overflow: hidden;
}

.page-hero .container {
  padding-bottom: 40px;
}

.crumb {
  color: #367da9;
  font-size: 13px;
  margin-bottom: 15px;
  display: block;
}

.page-hero h1 {
  font-size: clamp(35px, 4vw, 52px);
  margin-top: 5px;
}

.page-hero p {
  max-width: 750px;
}

.page-hero-img {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.page-hero-img img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: 12px 12px 0 0;
  box-shadow: 0 20px 40px rgba(22, 75, 120, 0.08);
  display: block;
}

/* Sections & Grid */
.section {
  padding: 78px 0;
}

.section.alt {
  background: #f6fbff;
}

.section-heading {
  max-width: 750px;
  margin-bottom: 32px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Cards */
.card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  box-shadow: 0 8px 22px #1b5c8c08;
  transition: 0.2s;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px #1b5c8c15;
}

.card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px 12px 0 0;
}

.card-body {
  padding: 26px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.iconbox {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #e8f6ff;
  color: #0872c6;
  font-size: 21px;
  font-weight: bold;
  margin-bottom: 15px;
  position: relative;
  z-index: 2;
  margin-left: 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* Specific icon overlap for pages with card images */
.card.has-image .iconbox {
  margin-top: -46px; /* Pull icon up into the image */
}

.card p {
  font-size: 14px;
  margin-bottom: 20px;
  flex-grow: 1;
}

.more {
  color: var(--blue);
  font-weight: 750;
  font-size: 13px;
  margin-top: auto;
}

/* Statement Block (About Page) */
.statement-block {
  max-width: 850px;
}

.statement-block h2 {
  margin-top: 0;
  margin-bottom: 15px;
}

/* CTA Strip */
.strip {
  background: #0d6eb9;
  color: white;
  padding: 46px 0;
}

.strip h2,
.strip p {
  color: white;
}

.strip .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.strip .btn {
  background: white;
  color: var(--blue) !important;
  border-color: white;
  white-space: nowrap;
}

.strip .btn:hover {
  background: #e6f2ff;
}

/* Footer */
.footer {
  background: #153b63;
  color: #d7e9f7;
  padding: 55px 0 25px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 35px;
}

.footer p,
.footer a {
  color: #c3d8e8;
  font-size: 13px;
}

.footer h3 {
  color: white;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-bottom {
  border-top: 1px solid #426180;
  padding-top: 18px;
  margin-top: 30px;
  font-size: 12px;
  color: #b7cfe1;
}

/* Responsive */
@media (max-width: 900px) {
  .menu-btn {
    display: block;
  }

  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 78px;
    background: white;
    padding: 18px 24px;
    flex-direction: column;
    align-items: stretch;
    box-shadow: 0 15px 25px #173b6020;
  }

  .nav.open {
    display: flex;
  }

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

  .grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .page-hero-img img {
    max-height: 350px;
    border-radius: 0;
  }
}

@media (max-width: 600px) {
  .grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 52px 0;
  }

  .hero {
    padding: 54px 0;
  }

  .strip .container {
    display: block;
  }

  .page-hero h1 {
    font-size: 36px;
  }

  .brand {
    font-size: 21px;
  }
  
  .card-img {
    height: 180px;
  }
}
.form label {
    display: block;
    font-weight: 600;
    font-size: 13px;
    color: var(--navy);
    margin-bottom: 6px;
    margin-top: 8px;
}
/* Contact Page Specific Styles */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 60px;
    align-items: start;
}

/* Left column — info */
.contact-layout h2 {
    font-size: 32px;
    line-height: 1.25;
    margin: 8px 0 16px;
}

.contact-layout > div > p {
    font-size: 15px;
    color: #59728a;
    margin-bottom: 28px;
}

.contact-layout h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--navy);
    margin: 22px 0 4px;
}

.contact-layout h3 + p {
    margin: 0 0 6px;
    font-size: 15px;
    color: #59728a;
}

/* Note box */
.note {
    margin-top: 32px;
    padding: 18px 20px;
    background: #eaf6ff;
    border-left: 4px solid #1494d5;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.55;
    color: #375772;
    max-width: 420px;
}

/* Right column — form card */
.form {
    background: #ffffff;
    border: 1px solid #dbeaf5;
    border-radius: 10px;
    padding: 32px 36px 30px;
    box-shadow: 0 6px 18px rgba(23, 90, 138, 0.05);
}

.form label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #2e4a63;
    margin: 0 0 6px 0;
}

.form label:not(:first-child) {
    margin-top: 18px;
}

.form input,
.form textarea,
.form select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #cfdeea;
    border-radius: 6px;
    font: inherit;
    font-size: 14px;
    color: var(--ink);
    background: #ffffff;
    outline: none;
    transition: border 0.15s, box-shadow 0.15s;
}

.form input:focus,
.form textarea:focus,
.form select:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(8, 114, 198, 0.12);
}

.form input::placeholder,
.form textarea::placeholder {
    color: #9bb0c2;
}

.form textarea {
    min-height: 130px;
    resize: vertical;
    margin-bottom: 0;
}

.form select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23647b91' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
    padding-right: 40px;
    cursor: pointer;
}

/* Submit button */
.form .btn {
    margin-top: 22px;
    padding: 12px 22px;
    font-size: 14px;
    border-radius: 6px;
    display: inline-block;
    width: auto;
}

.form .small {
    margin-top: 12px;
    font-size: 12.5px;
    color: #7c93a6;
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 900px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* ==========================================================================
   SAP Enterprise Integration page styles
   Extends styles.css — only page-specific rules live here.
   ========================================================================== */

/* ==========================================================================
   SAP hero — content left, image right
   ========================================================================== */
.sap-hero {
    background: linear-gradient(115deg, #f5fbff 0%, #e9f6ff 70%, #d9f0ff 100%);
    padding: 70px 0 0;
    overflow: hidden;
}

.sap-hero .container {
    padding-bottom: 40px;
}

.sap-hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 60px;
    align-items: center;
}

/* Left column — text content */
.sap-hero-content h1 {
    font-size: clamp(35px, 4.5vw, 54px);
    line-height: 1.13;
    color: var(--navy);
    letter-spacing: -1.5px;
    margin: 18px 0;
    max-width: 820px;
}

.sap-hero-content p {
    font-size: 18px;
    color: #59728a;
    max-width: 620px;
    margin: 8px 0 20px;
}

/* Right column — image card */
.sap-hero-visual {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(18, 105, 176, 0.18);
    border: 1px solid #d5e9f8;
    background: white;
    aspect-ratio: 4 / 3;
}

.sap-hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.sap-hero-visual:hover img {
    transform: scale(1.03);
}

/* Soft decorative glow behind the image */
.sap-hero-visual::before {
    content: "";
    position: absolute;
    inset: -20px -20px auto auto;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, #8ec5ff55 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* Pill tags */
.pill-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 27px 0 33px;
}

.pill {
    border: 1px solid #b7d4e9;
    background: #ffffffcc;
    border-radius: 100px;
    padding: 7px 16px;
    font-size: 13px;
    font-weight: 600;
    color: #1e4b72;
    backdrop-filter: blur(4px);
}

/* Integration diagram card */
.diagram-card {
    background: white;
    padding: 29px;
    border-radius: 17px;
    border: 1px solid var(--line);
    box-shadow: 0 10px 30px #11294b0b;
    max-width: 520px;
    margin: 0 auto;
}

.diagram-card .node {
    text-align: center;
    padding: 15px;
    border-radius: 9px;
    background: #edf3fd;
    border: 1px solid #d8e5fb;
    font-weight: 700;
    color: var(--navy);
    font-size: 14px;
}

.diagram-card .node small {
    display: block;
    font-weight: 500;
    font-size: 11.5px;
    color: #5c7b99;
    margin-top: 4px;
}

.diagram-card .node.primary {
    background: #153d7a;
    color: white;
    border-color: #153d7a;
}

.diagram-card .node.primary small {
    color: #b9d2f2;
}

.diagram-card .middle {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.diagram-card .arrow {
    text-align: center;
    color: var(--blue);
    font-size: 25px;
    line-height: 1.9;
}

/* 5-step approach row */
.steps-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
    margin-top: 35px;
}

.step-item {
    padding: 20px 18px;
    border-left: 3px solid var(--blue);
    background: #f7faff;
    border-radius: 7px;
}

.step-item strong {
    display: block;
    font-size: 14px;
    color: var(--navy);
    margin-bottom: 4px;
}

.step-item small {
    color: var(--muted);
    font-size: 12.5px;
    line-height: 1.5;
}

/* Dark CTA band */
.sap-cta {
    background: #0c1b34;
    color: white;
    padding: 60px 0;
}

.sap-cta .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.sap-cta h2 {
    font-size: clamp(26px, 3vw, 32px);
    color: white;
    margin: 0 0 8px;
    letter-spacing: -0.5px;
}

.sap-cta p {
    color: #b6c8df;
    margin: 0;
    font-size: 15px;
}

.sap-cta .btn {
    background: white;
    color: var(--blue) !important;
    border-color: white;
    white-space: nowrap;
}

.sap-cta .btn:hover {
    background: #e6f2ff;
}

/* Small helper note */
.mini-note {
    font-size: 13px;
    color: var(--muted);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 900px) {
    .sap-hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .sap-hero-visual {
        max-width: 560px;
        margin: 0 auto;
        aspect-ratio: 16 / 10;
    }

    .steps-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .sap-cta .container {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 600px) {
    .sap-hero {
        padding-top: 54px;
    }

    .sap-hero-visual {
        aspect-ratio: 16 / 11;
        border-radius: 14px;
    }

    .steps-row {
        grid-template-columns: 1fr;
    }

    .diagram-card .middle {
        grid-template-columns: 1fr;
    }
}

/* Pill tags */
.pill-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 27px 0 33px;
}

.pill {
    border: 1px solid #b7d4e9;
    background: #ffffffcc;
    border-radius: 100px;
    padding: 7px 16px;
    font-size: 13px;
    font-weight: 600;
    color: #1e4b72;
    backdrop-filter: blur(4px);
}

/* Integration diagram card */
.diagram-card {
    background: white;
    padding: 29px;
    border-radius: 17px;
    border: 1px solid var(--line);
    box-shadow: 0 10px 30px #11294b0b;
    max-width: 520px;
    margin: 0 auto;
}

.diagram-card .node {
    text-align: center;
    padding: 15px;
    border-radius: 9px;
    background: #edf3fd;
    border: 1px solid #d8e5fb;
    font-weight: 700;
    color: var(--navy);
    font-size: 14px;
}

.diagram-card .node small {
    display: block;
    font-weight: 500;
    font-size: 11.5px;
    color: #5c7b99;
    margin-top: 4px;
}

.diagram-card .node.primary {
    background: #153d7a;
    color: white;
    border-color: #153d7a;
}

.diagram-card .node.primary small {
    color: #b9d2f2;
}

.diagram-card .middle {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.diagram-card .arrow {
    text-align: center;
    color: var(--blue);
    font-size: 25px;
    line-height: 1.9;
}

/* 5-step approach row */
.steps-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
    margin-top: 35px;
}

.step-item {
    padding: 20px 18px;
    border-left: 3px solid var(--blue);
    background: #f7faff;
    border-radius: 7px;
}

.step-item strong {
    display: block;
    font-size: 14px;
    color: var(--navy);
    margin-bottom: 4px;
}

.step-item small {
    color: var(--muted);
    font-size: 12.5px;
    line-height: 1.5;
}

/* Dark CTA band */
.sap-cta {
    background: #0c1b34;
    color: white;
    padding: 60px 0;
}

.sap-cta .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.sap-cta h2 {
    font-size: clamp(26px, 3vw, 32px);
    color: white;
    margin: 0 0 8px;
    letter-spacing: -0.5px;
}

.sap-cta p {
    color: #b6c8df;
    margin: 0;
    font-size: 15px;
}

.sap-cta .btn {
    background: white;
    color: var(--blue) !important;
    border-color: white;
    white-space: nowrap;
}

.sap-cta .btn:hover {
    background: #e6f2ff;
}

/* Small helper note */
.mini-note {
    font-size: 13px;
    color: var(--muted);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 900px) {
    .steps-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .sap-cta .container {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 600px) {
    .steps-row {
        grid-template-columns: 1fr;
    }

    .sap-hero {
        padding-top: 54px;
    }

    .diagram-card .middle {
        grid-template-columns: 1fr;
    }
}
