:root {
  --site-max-width: 1200px;
  --site-gutter: 1rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    width: 100%;
    padding: 0;  
    line-height: 1.6;
    color: #0D3B66;
    background-color: #fff;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #0D3B66;
    z-index: 1000;
}

nav {
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 1rem var(--site-gutter);
}

main {
    width: 100%;
    padding: 0 var(--site-gutter);
}

.site-footer {
    width: 100%;
    padding: 40px var(--site-gutter);
}

.nav-title {
  display: flex;
  align-items: center;
}

.nav-logo {
  display: block;
  width: auto;
  height: 78px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1rem;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    position: relative;
}

/* Hover underline effect */
nav ul li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px; /* adjust spacing below text */
  width: 0;
  height: 2px;
  background-color: #fff;
  transition: width 0.3s ease;
}

nav ul li a:hover::after {
  width: 100%; /* underline expands across the link */
}


/* Hero Slider */
.hero {
  position: relative;
  height: 65vh;
  overflow: hidden;
  background: #000;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.overlay {
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
}

.overlay h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.overlay p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.overlay button {
  background: transparent;       /* transparent background */
  color: #fff;                /* text color (blue accent) */
  border: 2px solid #fff;     /* outline border */
  padding: 12px 24px;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.overlay button:hover {
  background: #0D3B66;           /* fill with blue on hover */
  color: #fff;
}

.service-cards {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.card {
  background-color: #f8f8f0;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0px 4px 6px rgba(0,0,0,0.1);
  max-width: 300px;
}
  
.services {
  background: #f8f8f0;
  padding: 60px var(--site-gutter);
  text-align: center;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

.services h2 {
  color: #0D3B66;
  margin-bottom: 40px;
  font-size: 2rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
 
}

.service-item {
  text-align: center;
  padding: 20px;
}

.service-item .icon {
  margin-bottom: 15px;
  display: flex;
  align-items: center;   /* vertically center icon and text */
  gap: 10px;             /* space between icon and heading */
  justify-content: center; /* optional: center them horizontally */
}

.service-item .icon h3 {
  color: #0D3B66;
  margin: 0;
  font-size: 1.2rem;
}

.service-item p {
  font-size: 0.95rem;
  color: #333;
}

/* core services */
.services-detail {
  background: #fff; /* clean white background */
  padding: 60px var(--site-gutter);
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

.services-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  justify-items: center;
  gap: 40px;
}

.card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.services-column h2 {
  color: #0D3B66;
  margin-bottom: 20px;
  font-size: 1.6rem;
  border-bottom: 2px solid #eee;
  padding-bottom: 10px;
}

.title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.title-row h3 {
  margin: 0;
  color: #0D3B66;
  font-size: 1.2rem;
  font-weight: 600;
}

.service-info p {
  font-size: 0.95rem;
  color: #333;
  line-height: 1.4;
  margin-bottom: 20px;
}

/* Pricing */
.pricing {
  background: linear-gradient(180deg, #f8f8f0 0%, #ffffff 100%);
  padding: 80px var(--site-gutter);
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

.pricing-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 36px;
}

.pricing-header h2 {
  color: #0D3B66;
  font-size: 2rem;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.pricing-header p {
  color: #333;
  margin: 0;
}

.pricing-grid {
  max-width: var(--site-max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 24px;
}

.pricing-card {
  background: #fff;
  border: 1px solid #e7ebf0;
  border-radius: 12px;
  padding: 26px;
  box-shadow: 0 8px 22px rgba(13, 59, 102, 0.08);
  display: flex;
  flex-direction: column;
}

.pricing-card-featured {
  border-color: #0D3B66;
  box-shadow: 0 10px 26px rgba(13, 59, 102, 0.16);
}

.pricing-card h3 {
  margin: 0 0 8px;
  color: #0D3B66;
  font-size: 1.3rem;
}

.pricing-range {
  margin: 0 0 10px;
  font-size: 1.35rem;
  font-weight: 800;
  color: #0D3B66;
}

.pricing-summary {
  margin: 0 0 14px;
  color: #333;
}

.pricing-card ul {
  margin: 0 0 20px;
  padding-left: 18px;
  color: #333;
  line-height: 1.5;
}

.pricing-cta {
  margin-top: auto;
  display: inline-block;
  text-align: center;
  background: #0D3B66;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  padding: 12px 16px;
  font-weight: 700;
  transition: background 0.3s ease, transform 0.2s ease;
}

.pricing-cta:hover {
  background: #094a99;
  transform: translateY(-1px);
}

.pricing-note {
  max-width: 820px;
  margin: 24px auto 0;
  text-align: center;
  color: #0D3B66;
  font-weight: 600;
}

/* Web application development */
.webapp-dev {
  background: linear-gradient(145deg, #0d3b66 0%, #1f5e96 100%);
  color: #fff;
  padding: 80px var(--site-gutter);
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

.webapp-dev-inner {
  max-width: var(--site-max-width);
  margin: 0 auto;
}

.webapp-dev-header {
  max-width: 780px;
  margin-bottom: 32px;
}

.webapp-dev-header h2 {
  margin: 0 0 10px;
  font-size: 2rem;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.webapp-dev-header p {
  margin: 0;
  color: rgba(255, 255, 255, 0.95);
}

.webapp-dev-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}

.webapp-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  padding: 24px;
  backdrop-filter: blur(1.5px);
}

.webapp-card h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}

.webapp-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.94);
}

/* Training and support */
.training-support {
  background: #f8f8f0;
  padding: 80px var(--site-gutter);
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

.training-support-inner {
  max-width: var(--site-max-width);
  margin: 0 auto;
}

.training-support-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 32px;
}

.training-support-header h2 {
  margin: 0 0 10px;
  color: #0D3B66;
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.training-support-header p {
  margin: 0;
  color: #2f3a45;
}

.training-support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px;
}

.support-card {
  background: #fff;
  border: 1px solid #e7ebf0;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 7px 18px rgba(13, 59, 102, 0.08);
}

.support-card h3 {
  margin: 0 0 10px;
  color: #0D3B66;
  font-size: 1.2rem;
}

.support-card p {
  margin: 0;
  color: #333;
}

/* Trust and compliance */
.trust-compliance {
  background: #ffffff;
  padding: 80px var(--site-gutter);
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

.trust-compliance-inner {
  max-width: var(--site-max-width);
  margin: 0 auto;
  background: #f4f8fc;
  border-radius: 14px;
  border: 1px solid #dbe8f6;
  padding: 34px;
}

.trust-compliance-inner h2 {
  margin: 0 0 10px;
  color: #0D3B66;
  font-size: 1.9rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.trust-compliance-inner > p {
  margin: 0 0 18px;
  color: #2f3a45;
}

.trust-list {
  display: grid;
  gap: 12px;
}

.trust-list p {
  margin: 0;
  background: #fff;
  border-left: 4px solid #0D3B66;
  border-radius: 8px;
  padding: 14px 16px;
  color: #243447;
}

/* Business needs */
.business-needs {
  position: relative;
  padding: 80px var(--site-gutter);
  color: #fff;
  text-align: center;
}

.business-needs .background {
  background-image: url('../images/background3.png');
  background-size: cover;
  background-position: center;
  min-height: 400px;
  padding: 60px var(--site-gutter);
  max-width: var(--site-max-width);
  width: 100%;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
}

.business-needs h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.business-needs hr {
  width: 60px;
  border: 2px solid #fff;
  margin: 20px auto;
}

.business-needs p {
  font-size: 1rem;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 20px;
  color: #f0f0f0;
}

/* Security */
hr {
  width: 50%;
}

.security {
  padding: 80px var(--site-gutter);
  background: #f9f9f9;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* two equal columns */
  gap: 40px;
  align-items: center;
}

.info h2 {
  color: #0D3B66;
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.info hr {
  width: 60px;
  border: 2px solid #0D3B66;
  margin: 20px 0;
}

.info p {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
}

.security-video {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
  object-fit: cover;
}

/* Core Values */
.core-values {
  padding: 80px var(--site-gutter);
  background: #f9f9f9;
  text-align: center;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

.core-values h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  color: #0D3B66;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.value-card {
  background: #fff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

.value-card h3 {
  color: #0D3B66;
  font-size: 1.4rem;
  margin-bottom: 15px;
}

.value-card p {
  font-size: 0.95rem;
  color: #333;
  line-height: 1.6;
}

/* Founder */
.founder-story {
  background: linear-gradient(120deg, #0d3b66 0%, #1f5e96 100%);
  padding: 80px var(--site-gutter);
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

.founder-grid {
  max-width: var(--site-max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.founder-intro-card,
.founder-vision-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.16);
}

.founder-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #1f5e96;
  box-shadow: 0 6px 16px rgba(13, 59, 102, 0.2);
  margin-bottom: 14px;
}

.founder-label {
  margin: 0 0 10px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #1f5e96;
}

.founder-intro-card h2 {
  margin: 0;
  color: #0d3b66;
  font-size: 2rem;
  font-family: 'Playfair Display', serif;
}

.founder-role {
  margin: 8px 0 16px;
  font-weight: 700;
  color: #0d3b66;
}

.founder-intro-card p,
.founder-vision-card p {
  margin: 0;
  color: #223;
  line-height: 1.7;
}

.founder-vision-card h3 {
  margin: 0 0 12px;
  color: #0d3b66;
  font-size: 1.35rem;
}

.founder-vision-card p + p {
  margin-top: 14px;
}

/* Contact form */
.contact {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-background {
  position: fixed; /* keeps background still */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/background6.jpg'); /* adjust path */
  background-size: cover;
  background-position: center;
  z-index: -1; /* behind content */
}

.contact-content {
  background: rgba(255, 255, 255, 0.9); /* semi-transparent card */
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
  max-width: 600px;
  width: 100%;
}

.contact-content p {
  margin-top: 0;
  color: #243447;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.contact-form button {
  background: #0D3B66;
  color: #fff;
  border: none;
  padding: 12px 20px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background: #094a99;
}

.contact-form button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.contact-status {
  margin-top: 14px;
  min-height: 1.4rem;
  font-weight: 600;
  color: #0D3B66;
}

.contact-status.is-success {
  color: #0b7a3d;
}

.contact-status.is-error {
  color: #a32626;
}

/* Style the button */
  #scrollTopBtn {
    display: none; /* Hidden by default */
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99; /* Make sure it stays on top */
    border: none;
    outline: none;
    background-color: #333;
    color: white;
    cursor: pointer;
    padding: 12px 16px;
    border-radius: 4px;
    font-size: 18px;
    transition: opacity 0.3s ease;
  }

  #scrollTopBtn:hover {
    background-color: #555;
  }

  .site-footer {
  background-color: #0D3B66;
  color: #fff;
  padding: 40px var(--site-gutter);
  font-size: 14px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-container div {
  flex: 1 1 220px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin: 8px 0;
}

.footer-links ul li a {
  color: #fff;
  text-decoration: none;
}

.footer-links ul li a:hover {
  text-decoration: underline;
}

.footer-social a {
  color: #fff;
  text-decoration: none;
  margin-right: 10px;
}

.footer-social a:hover {
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 15px;
}

/* ======== mobile-first responsive tweaks ======== */

/* keep logo and hamburger on one row on phones */
nav {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
    padding: 0.65rem 1rem;
}

/* smaller logo so it fits with the hamburger icon */
.nav-logo {
  height: 56px;
}

/* hamburger toggle button */
.nav-toggle {
    display: block;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
  margin-left: auto;
    z-index: 1100;
}

.nav-toggle .hamburger,
.nav-toggle .hamburger::before,
.nav-toggle .hamburger::after {
    content: '';
    display: block;
    width: 25px;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.3s ease;
}

.nav-toggle .hamburger::before {
    transform: translateY(-8px);
}

.nav-toggle .hamburger::after {
    transform: translateY(5px);
}

/* links hidden by default on mobile */
nav ul {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 0;
}

nav.nav-open ul {
    display: flex;
}

nav ul li {
    width: 100%;
    text-align: left;
    padding: 0.5rem 0;
}

nav ul li a {
    display: block;
    width: 100%;
}

/* smaller hero height and text by default */
.hero {
    height: 65vh;
}

.overlay h1 {
    font-size: 1.8rem;
}

.overlay p {
    font-size: 1rem;
}

/* single-column grids on narrow screens */
.services-columns,
.grid {
    grid-template-columns: 1fr;
}

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

.service-cards {
    flex-direction: column;
    gap: 1rem;
}

.contact-content {
    padding: 30px;
}

/* tablet+ breakpoints */
@media (min-width: 600px) {
    .hero {
        height: 60vh;
    }

    .overlay h1 {
        font-size: 2rem;
    }

    .overlay p {
        font-size: 1.1rem;
    }
}

@media (min-width: 768px) {
    /* hide hamburger on tablet+ */
    .nav-toggle {
        display: none;
    }

  .nav-logo {
    height: 70px;
  }

    nav {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0.75rem var(--site-gutter);
    }

    nav ul {
        display: flex !important;
        flex-direction: row;
        gap: 1rem;
        width: auto;
    }

    nav ul li {
        padding: 0;
        width: auto;
        text-align: center;
    }

    .services-columns,
    .grid {
        grid-template-columns: 1fr 1fr;
    }

    .pricing-grid {
      grid-template-columns: repeat(3, minmax(220px, 1fr));
    }

    .founder-grid {
      grid-template-columns: 1.05fr 0.95fr;
      align-items: stretch;
    }

    .service-cards {
        flex-direction: row;
    }
}

@media (min-width: 1024px) {
    .overlay h1 {
        font-size: 2.5rem;
    }

    .overlay p {
        font-size: 1.2rem;
    }
}