/* =========================
   Global Styles
   ========================= */
:root {
  --bg: #ffffff;
  --muted: #d1d5db;
  --accent: #ffffff;
  --accent-2: #f9fafb;
  --radius: 12px;
  --dark-blue: #1e3a8a; /* main trust color */
  --green: #7ed957;     /* fresh growth color */
  --teal: #14b8a6;      /* calm/modern color */
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth; /* smooth scrolling */
}

html, body {
  height: 100%;
  margin: 0;
  background: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
  text-align: center;
}

/* =========================
   NAVBAR
   ========================= */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  position: relative;      /* scrolls naturally */
  top: 0;
  z-index: 1000;
}

.navbar__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.85rem 1rem; /* adjust vertical height of navbar */
}

.navbar__logo {
  font-weight: 700;
  font-size: 1.25rem;
  color: #1e3a8a;
  text-decoration: none;
}

.navbar__nav {
  display: flex;
}

.navbar__list {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.navbar__list a {
  text-decoration: none;
  color: #1e3a8a;
  font-weight: 600;
  font-size: 1rem; /* navbar text size */
  transition: color 0.2s;
}

.navbar__list a:hover {
  color: #7ed957;
}

/* Hamburger toggle */
.navbar__toggle {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: #1e3a8a;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .navbar__nav {
    display: none;
    width: 100%;
    background: rgba(255,255,255,0.95);
    position: absolute;
    top: 100%;
    left: 0;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 0;
  }

  .navbar__list {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .navbar__toggle {
    display: block;
  }

  .navbar.active .navbar__nav {
    display: flex;
  }
}

/* =========================
   HERO Section
   ========================= */
.hero {
  display: flex;
  align-items: center;      /* vertical centering */
  justify-content: center;  /* horizontal centering */
  min-height: 66vh;         /* desktop height */
  background: linear-gradient(135deg, var(--dark-blue), var(--green));
  color: white;
  padding: 0;               /* desktop padding removed for perfect centering */
}

.hero__content {
  max-width: 700px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;              /* spacing between heading, subheading, CTA */
}

.hero__title {
  font-size: clamp(1.8rem, 4.2vw, 2.8rem);
  line-height: 1.2;
  margin: 0;
  color: #FBBF24;           /* golden heading */
  text-shadow: 2px 2px 6px rgba(0,0,0,0.4);
  font-weight: 700;
}

.hero__lead {
  margin: 0;
  font-size: 1.35rem;
  color: #f3f4f6;
  max-width: 60ch;          /* aligns nicely with heading */
  text-align: center;
}

.hero__actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 600;
}

.btn--primary {
  background: #111827;
  color: #fff;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.12);
  transition: transform .12s ease, box-shadow .12s ease;
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.14);
}

/* =========================
   HERO Section Mobile Adjustments
   ========================= */
@media (max-width: 768px) {
  .hero {
    min-height: 58vh;
    padding: 2rem 1rem;  /* adds breathing room for mobile */
  }

  .hero__content {
    gap: 1.2rem;
  }

  .hero__title {
    font-size: 1.8rem;
    line-height: 1.3;
  }

  .hero__lead {
    font-size: 1.2rem;
    line-height: 1.4;
  }

  .hero__actions {
    flex-direction: column;
    gap: 0.75rem;
  }
}

/* =========================
   PROBLEM / PAIN SECTION
   ========================= */
.pain {
  background: #f3f4f6;  /* light neutral background for contrast */
  padding: 2rem 1rem 4rem 1rem; /* reduced top padding, comfortable bottom */
  color: #1f2937;
}

.pain__heading,
.pain__intro {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.pain__heading {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
  margin-top: 0.2rem;
}

.pain__intro {
  font-size: 1.2rem;
  text-align: center;
  line-height: 1.5;
  margin-bottom: 2rem;
}

.pain__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.pain__item h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.pain__item p {
  font-size: 1rem;
  line-height: 1.5;
  color: #4b5563;
}

.pain__icon {
  margin-right: 0.5rem;
  font-size: 1.2rem;
  vertical-align: middle;
}

/* Desktop / wider screens */
@media (min-width: 768px) {
  .pain__list {
    grid-template-columns: 1fr 1fr; /* two columns side by side */
    gap: 2.5rem;
  }

  .pain__heading {
    padding-top: 0.1rem;
  }

  .pain__item h3 {
    font-size: 1.2rem;
  }

  .pain__item p {
    font-size: 1.05rem;
  }
}

/* Vision Section */
.vision {
  background: linear-gradient(135deg, #1e3a8a, #7ed957); /* Blue → Green gradient */
  padding: 4rem 1rem;
  text-align: center;
}

.vision__heading {
  font-size: 2.25rem;
  font-weight: 700;
  color: #ffffff; /* stands out on gradient */
  margin-bottom: 1rem;
  margin-top: -1.2rem;
}

.vision__intro {
  font-size: 1.2rem;
  max-width: 60ch;
  margin: 0 auto 2rem auto;
  color: #f3f4f6; /* light text on gradient */
}

.vision__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 cards in a row on desktop */
  gap: 2rem;
  margin-top: 2rem;
}

.vision__item {
  background: #ffffff; /* white cards for contrast */
  padding: 1.5rem;
  border-radius: 12px; /* slight rounding for cards */
  box-shadow: 0 6px 18px rgba(0,0,0,0.05);
  text-align: center;
}

.vision__item h3 {
  margin-top: 0.5rem;
  color: #1e3a8a; /* matches hero section */
  font-size: 1.25rem;
}

.vision__item p {
  color: #1f2937; /* dark neutral for highlight words */
  margin-top: 0.5rem;
  font-size: 1rem;
  line-height: 1.6;
}

.vision__item .highlight {
  font-weight: 600;
}

.vision__closing {
  font-size: 1.1rem;
  font-weight: 500;
  margin-top: 2.5rem;
  color: #f3f4f6; /* readable on gradient */
  max-width: 60ch;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .vision__grid {
    grid-template-columns: repeat(2, 1fr); /* 2 in a row on tablets */
  }
}

@media (max-width: 768px) {
  .vision__grid {
    grid-template-columns: 1fr; /* stacked on mobile */
  }
  .vision__heading {
    font-size: 1.9rem;
    margin-top: -0.2rem;
  }
  .vision__intro,
  .vision__closing {
    font-size: 1.05rem;
  }
}
/* =========================
   About Section
   ========================= */
.about-section {
  background: #f9fafb; /* light grey to differentiate from hero */
  padding: 5rem 1rem;
}

.about-content {
  display: flex;
  align-items: flex-start;
  gap: 4rem;
  flex-wrap: wrap;
}

/* Profile photo */
.about-image img {
  width: 100%;
  max-width: 280px;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(30, 58, 138, 0.3), 
              0 4px 10px rgba(126, 217, 87, 0.2);
}

/* Text content */
.about-text {
  flex: 1;
  min-width: 280px;
}

.about-heading {
  font-size: clamp(2rem, 3vw, 2.5rem);
  margin-top: -1.2rem;
  margin-bottom: 1rem;
  color: #1e3a8a; /* dark-blue for trust */
}

.about-lead {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  line-height: 1.5;
  color: #374151; /* soft dark grey */
}


/* Card */
.about-card {
  background: #CCCCFF;
  border-radius: 12px;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  text-align: center;
}

.about-card p {
  margin: 0 0 1rem 0;
  font-size: 1rem;
  color: #111827;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .about-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
  }

  .about-image img {
    max-width: 220px;
  }

  .about-text ul {
    padding-left: 0;
    list-style-position: inside;
  }
}

/* =========================
   Service Section
   ========================= */
.services-section {
  padding: 60px 20px;
  background: linear-gradient(90deg, #2A4B8F, #63AE58);
  color: #fff;
  text-align: center;
}

.services-section h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
  font-weight: bold;
  margin-top: -1.5rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background: #fff;
  color: #333;
  padding: 30px 20px;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.service-card .icon {
  width: 50px;
  height: 50px;
  margin-bottom: 15px;
  color: #2A4B8F;
  transition: color 0.3s ease;
}

.service-card:hover .icon {
  color: #63AE58;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 1rem;
  line-height: 1.6;
}
.featured {
  background: #f3f4f6;
  padding: 4rem 1rem;
}

.featured__heading {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #1e3a8a;
  margin-top: -0.8rem;
}

.featured__subheading {
  text-align: center;
  font-size: 1.1rem;
  margin-bottom: 3rem;
  color: #374151;
}

.featured__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 per row on desktop */
  gap: 2rem;
}

.featured__card {
  background: #ffffff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.featured__card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  color: #1e3a8a;
}

.featured__client {
  font-style: italic;
  color: #4b5563;
  margin-bottom: 0.5rem;
}

.featured__card p {
  margin: 0.5rem 0;
  line-height: 1.5;
  color: #374151;
}

.featured__card ul.achievements {
  list-style: none;
  padding-left: 1.5rem;
  margin: 1rem 0;
}

.featured__card ul.achievements li {
  position: relative;
  margin-bottom: 0.5rem;
  padding-left: 1.2rem;
}

.featured__card ul.achievements li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: #1e3a8a;
  font-weight: bold;
}

@media (max-width: 768px) {
  .featured__grid {
    grid-template-columns: 1fr; /* single column on mobile */
    margin-top: -1.2rem;
  }
}
/* Left-align achievements text */
.featured__card ul.achievements li {
  position: relative;
  margin-bottom: 0.5rem;
  padding-left: 1.5rem; /* slightly increased for spacing from arrow */
  text-align: left; /* ensures all lines start at same point */
}

/* Arrow remains same */
.featured__card ul.achievements li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: #1e3a8a;
  font-weight: bold;
}

/* Highlight Technologies Used */
.featured__card p strong {
  color: #1e40af; /* dark blue for emphasis */
  background: rgba(226, 232, 240, 0.3); /* subtle light grey-blue shade */
  padding: 0.1rem 0.3rem;
  border-radius: 4px;
}

/* Highlight Impact specifically */
.featured__card p:nth-of-type(3) strong {
  color: #047857; /* green shade for impact */
  background: rgba(5, 150, 105, 0.1); /* subtle green background */
  padding: 0.1rem 0.3rem;
  border-radius: 4px;
}
/* Back to Top Button */
#backToTopBtn {
  display: none; /* Hidden by default */
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 99;
  border: none;
  outline: none;
  background: #111827;
  cursor: pointer;
  padding: 12px;
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: opacity 0.3s ease, transform 0.2s ease;
}

#backToTopBtn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

#backToTopBtn svg {
  width: 24px;
  height: 24px;
}
/* Final CTA styles */
.final-cta {
  background: linear-gradient(90deg, #2A4B8F 0%, #63AE58 100%);
  color: #ffffff;
  padding: 4.5rem 1rem;
}

.final-cta-inner {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

/* Heading + sub */
.final-cta-title {
  font-size: clamp(1.6rem, 3.2vw, 2.5rem);
  margin: 0 0 0.5rem;
  font-weight: 700;
  line-height: 1.05;
}

.final-cta-sub {
  margin: 0 0 1.75rem;
  color: rgba(255,255,255,0.92);
  font-size: 1rem;
}

/* Primary CTA button */
.final-cta-btn {
  display: inline-block;
  background: #FBBF24;
  color: #2A4B8F;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(10, 35, 88, 0.18);
  transition: transform .14s ease, box-shadow .14s ease, opacity .14s ease;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.final-cta-btn:hover,
.final-cta-btn:focus {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(10,35,88,0.22);
  opacity: 0.98;
}

/* Contacts container: horizontal on desktop, stacked on mobile */
.final-cta-contacts {
  display: flex;
  gap: 2.25rem;
  justify-content: center;
  align-items: center;
  margin-top: 1rem;
  flex-wrap: wrap;
}

/* Individual contact blocks */
.contact-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 220px; /* keeps layout consistent */
  gap: 0.35rem;
}

.contact-label {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.95);
}

/* Email link styling (big and obvious for non-tech users) */
.contact-link.email-link {
  color: #ffffff;
  text-decoration: underline;
  font-weight: 700;
  font-size: 1rem;
}

/* LinkedIn icon + style */
.linkedin-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: rgba(255,255,255,0.12);
  border-radius: 10px;
  text-decoration: none;
  transition: transform .12s ease, background .12s ease, box-shadow .12s ease;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

.linkedin-link:hover {
  transform: translateY(-3px);
  background: rgba(255,255,255,0.18);
  box-shadow: 0 10px 26px rgba(0,0,0,0.16);
}

/* Make the SVG icon small and crisp */
.linkedin-icon {
  width: 20px;
  height: 20px;
  display: block;
  fill: #ffffff; /* white icon */
}

/* Responsive adjustments */
@media (max-width: 780px) {
  .final-cta-contacts {
    gap: 1rem;
  }
  .contact-block {
    min-width: auto;
  }
  .final-cta-btn {
    padding: 10px 18px;
  }
}
/* Footer */
.site-footer {
  background: #f7f7f7;  /* light grey */
  padding: 1.5rem 1rem;
  text-align: center;
  font-size: 0.9rem;
  color: #555;
}

.footer-container {
  max-width: 1000px;
  margin: 0 auto;
}



