
:root {
  --navy: #071e50;
  --blue: #0756bd;
  --light-blue: #eaf3ff;
  --red: #ed1717;
  --white: #ffffff;
  --text: #10285b;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 85px;
}

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--navy);
  background: white;
  overflow-x: hidden;
}

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

button {
  font-family: inherit;
}

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

/* HEADER */

.header {
  height: 94px;
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid #e6edfa;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(7,30,80,0.04);
}

.nav-container {
  max-width: 1440px;
  height: 100%;
  margin: auto;
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.brand img {
  width: 265px;
  height: 78px;
  object-fit: contain;
}

.navigation {
  display: flex;
  align-items: center;
  gap: 35px;
}

.nav-link {
  font-size: 15px;
  font-weight: 600;
  position: relative;
  padding: 12px 0;
  transition: color 0.2s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--red);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  height: 3px;
  background: var(--red);
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 5px;
}

.header-button {
  background: linear-gradient(135deg, #ff3535, #d90000);
  color: white;
  border-radius: 40px;
  padding: 14px 25px;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 5px 14px rgba(220,0,0,0.2);
  transition: 0.2s;
}

.header-button:hover,
.button-red:hover {
  transform: translateY(-3px);
  box-shadow: 0 9px 20px rgba(220,0,0,0.25);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  margin: 5px;
  background: var(--navy);
  border-radius: 5px;
}


/* HERO */

.hero {
  min-height: 570px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(110deg, #ffffff 48%, #f2f7ff 100%);
}

.hero-background {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 88% 25%, rgba(0,95,220,0.18), transparent 36%),
    radial-gradient(ellipse at 83% 55%, rgba(255,0,0,0.12), transparent 35%),
    linear-gradient(150deg, transparent 65%, rgba(0,70,180,0.10));
}

.hero-container {
  max-width: 1440px;
  margin: auto;
  padding: 65px 5% 55px;
  position: relative;
  display: flex;
  align-items: center;
  min-height: 570px;
}

.hero-content {
  width: 54%;
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.3px;
  margin-bottom: 22px;
}

.eyebrow span {
  display: inline-block;
  width: 43px;
  height: 3px;
  background: var(--red);
  border-radius: 5px;
}

.hero h1 {
  font-size: clamp(42px, 5.2vw, 76px);
  line-height: 1.03;
  letter-spacing: -2.8px;
  font-weight: 800;
  color: var(--navy);
}

.hero h1 span,
.section-heading h2 span,
.about-panel h2 span {
  color: var(--red);
}

.hero-description {
  font-size: 18px;
  margin-top: 27px;
  color: #10285b;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 48px;
}

.button {
  min-height: 55px;
  padding: 0 23px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 40px;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  transition: 0.25s;
}

.button-red {
  background: linear-gradient(135deg, #ff3838, #d90000);
  color: white;
  box-shadow: 0 8px 16px rgba(220,0,0,0.18);
}

.button-outline {
  border: 2px solid var(--navy);
  color: var(--navy);
  background: rgba(255,255,255,0.8);
}

.button-outline:hover {
  background: var(--navy);
  color: white;
  transform: translateY(-2px);
}


/* LAPTOP VISUAL */

.hero-visual {
  width: 46%;
  min-height: 390px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.visual-glow {
  position: absolute;
  width: 100%;
  height: 80%;
  background: radial-gradient(ellipse, rgba(0,100,230,0.23), transparent 70%);
  filter: blur(15px);
}

.laptop {
  width: 95%;
  max-width: 510px;
  position: relative;
  z-index: 1;
  transform: perspective(1000px) rotateY(-9deg) rotateX(3deg);
  filter: drop-shadow(0 20px 18px rgba(0,30,90,0.18));
}

.laptop-screen {
  height: 285px;
  border: 12px solid #10213c;
  border-bottom: 18px solid #142b4b;
  border-radius: 17px 17px 5px 5px;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.laptop-screen img {
  width: 80%;
  max-height: 90%;
  object-fit: contain;
}

.laptop-base {
  width: 112%;
  height: 17px;
  margin-left: -6%;
  background: linear-gradient(#d8e8fa, #7b9cbd, #d9e8f5);
  border-radius: 2px 2px 14px 14px;
  position: relative;
}

.laptop-base::after {
  content: "";
  position: absolute;
  width: 22%;
  height: 5px;
  background: #7995b5;
  left: 39%;
  top: 0;
  border-radius: 0 0 6px 6px;
}


/* GENERAL SECTIONS */

.section {
  max-width: 1440px;
  margin: auto;
  padding: 90px 5%;
}

.section-heading {
  max-width: 650px;
  margin: 0 auto 45px;
  text-align: center;
}

.section-heading .eyebrow {
  justify-content: center;
}

.section-heading h2 {
  font-size: clamp(34px, 4vw, 49px);
  line-height: 1.12;
  margin-bottom: 18px;
}

.section-heading p {
  font-size: 17px;
  line-height: 1.7;
  color: #536582;
}


/* SERVICES */

.work-section {
  background: #ffffff;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.service-card {
  padding: 32px 25px;
  border: 1px solid #e5edf9;
  border-radius: 18px;
  background: white;
  box-shadow: 0 8px 25px rgba(7,30,80,0.05);
  transition: 0.25s;
}

.service-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 14px 32px rgba(7,30,80,0.11);
}

.service-icon {
  width: 62px;
  height: 62px;
  background: #edf4ff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 28px;
  margin-bottom: 23px;
}

.service-card h3 {
  font-size: 19px;
  margin-bottom: 12px;
}

.service-card p {
  color: #63718a;
  line-height: 1.7;
  font-size: 14px;
}


/* DEMOS */

.demos-section {
  background: #f5f8ff;
  max-width: none;
}

.demo-placeholder {
  max-width: 700px;
  margin: auto;
  padding: 48px 30px;
  background: white;
  border: 1px solid #e5edf9;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(7,30,80,0.06);
  text-align: center;
}

.demo-symbol {
  font-size: 48px;
  margin-bottom: 15px;
}

.demo-placeholder h3 {
  font-size: 25px;
  margin-bottom: 12px;
}

.demo-placeholder p {
  color: #63718a;
  line-height: 1.7;
  margin-bottom: 25px;
}


/* CONTACT AND ABOUT */

.bottom-section {
  background:
    radial-gradient(ellipse at 95% 95%, rgba(0,80,190,0.10), transparent 35%),
    #ffffff;
  padding: 48px 5% 38px;
}

.bottom-container {
  max-width: 1320px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  align-items: stretch;
}

.contact-panel {
  display: flex;
  align-items: flex-start;
  gap: 25px;
  padding: 22px 35px 22px 0;
  border-right: 2px solid #d7e5f7;
}

.contact-icon {
  flex-shrink: 0;
  width: 105px;
  height: 105px;
  background: linear-gradient(145deg, #ffffff, #e8f1ff);
  border: 1px solid #e5efff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 48px;
  color: var(--navy);
  box-shadow: 0 5px 18px rgba(7,30,80,0.08);
}

.bottom-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
}

.bottom-content h2 {
  font-size: 29px;
  line-height: 1.2;
  margin-bottom: 18px;
}

.bottom-content p {
  font-size: 17px;
  line-height: 1.55;
  margin-bottom: 22px;
  color: #283d65;
}

.about-panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 22px 0;
}

.about-panel .eyebrow {
  margin-bottom: 12px;
}

.about-panel h2 {
  font-size: 39px;
  line-height: 1.12;
  margin-bottom: 17px;
}

.about-panel p {
  font-size: 16px;
  line-height: 1.6;
  color: #283d65;
  margin-bottom: 20px;
  max-width: 540px;
}

/* Align the two lower buttons horizontally */
.bottom-content .button,
.about-panel .button {
  margin-top: auto;
}

.bottom-container {
  min-height: 265px;
}

.contact-panel,
.about-panel {
  justify-content: space-between;
}


/* FOOTER */

.footer {
  background: #061d50;
  color: white;
  padding: 27px 5%;
}

.footer-container {
  max-width: 1440px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.footer-brand img {
  width: 210px;
  height: 65px;
  object-fit: contain;
  background: white;
  border-radius: 5px;
}

.footer-tagline {
  font-size: 15px;
  border-left: 1px solid rgba(255,255,255,0.5);
  padding-left: 25px;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-socials a {
  width: 37px;
  height: 37px;
  background: white;
  color: var(--navy);
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-weight: 800;
  font-size: 17px;
  transition: 0.2s;
}

.footer-socials a:hover {
  background: #ff3030;
  color: white;
}

.copyright {
  font-size: 12px;
  border-left: 1px solid rgba(255,255,255,0.5);
  padding-left: 23px;
}


/* TABLET */

@media (max-width: 1050px) {

  .navigation {
    gap: 18px;
  }

  .brand img {
    width: 205px;
  }

  .hero-buttons {
    gap: 10px;
  }

  .button {
    padding: 0 17px;
    font-size: 13px;
  }

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

  .footer-container {
    flex-wrap: wrap;
  }

  .bottom-container {
    gap: 25px;
  }

  .contact-panel {
    padding-right: 20px;
    gap: 15px;
  }

  .about-panel h2 {
    font-size: 32px;
  }
}


/* MOBILE */

@media (max-width: 760px) {

  .header {
    height: 75px;
  }

  .nav-container {
    padding: 0 5%;
  }

  .brand img {
    width: 190px;
    height: 65px;
  }

  .header-button {
    display: none;
  }

  .menu-toggle {
    display: block;
    z-index: 1002;
  }

  .navigation {
    display: none;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: white;
    padding: 15px 6% 22px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    box-shadow: 0 12px 20px rgba(7,30,80,0.12);
  }

  .navigation.show {
    display: flex;
  }

  .nav-link {
    padding: 12px 5px;
  }

  .nav-link.active::after {
    width: 35px;
  }

  .hero-container {
    padding: 55px 6% 40px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .hero-content {
    width: 100%;
  }

  .hero h1 {
    font-size: clamp(39px, 10vw, 55px);
    letter-spacing: -1.8px;
  }

  .hero-description {
    font-size: 15px;
    line-height: 1.6;
  }

  .hero-buttons {
    margin-top: 30px;
    flex-direction: column;
    align-items: stretch;
  }

  .hero-buttons .button {
    width: 100%;
  }

  .hero-visual {
    width: 100%;
    min-height: 260px;
    margin-top: 25px;
  }

  .laptop {
    max-width: 370px;
  }

  .laptop-screen {
    height: 210px;
  }

  .section {
    padding: 65px 6%;
  }

  .section-heading {
    margin-bottom: 30px;
  }

  .section-heading p {
    font-size: 15px;
  }

  .service-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .service-card {
    padding: 25px;
  }

  .demo-placeholder {
    padding: 35px 20px;
  }

  /* Keep both bottom panels side by side */
  .bottom-section {
    padding: 35px 5% 25px;
  }

  .bottom-container {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    min-height: 0;
  }

  .contact-panel {
    display: flex;
    flex-direction: column;
    border-right: 1px solid #d7e5f7;
    padding: 12px 12px 0 0;
    gap: 12px;
  }

  .contact-icon {
    width: 55px;
    height: 55px;
    font-size: 26px;
  }

  .bottom-content h2 {
    font-size: 19px;
    line-height: 1.25;
  }

  .bottom-content p {
    font-size: 13px;
    line-height: 1.5;
  }

  .about-panel {
    padding: 12px 0 0 5px;
  }

  .about-panel .eyebrow {
    font-size: 9px;
    gap: 5px;
  }

  .about-panel .eyebrow span {
    width: 18px;
  }

  .about-panel h2 {
    font-size: 22px;
    line-height: 1.2;
  }

  .about-panel p {
    font-size: 12px;
    line-height: 1.5;
  }

  .bottom-content .button,
  .about-panel .button {
    min-height: 42px;
    padding: 0 10px;
    font-size: 11px;
    width: 100%;
    white-space: normal;
    text-align: center;
  }

  .footer {
    padding: 25px 5%;
  }

  .footer-container {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .footer-brand img {
    width: 180px;
  }

  .footer-tagline {
    border: none;
    padding: 0;
  }

  .copyright {
    border: none;
    padding: 0;
    line-height: 1.5;
  }

}


/* SMALL MOBILE */

@media (max-width: 380px) {

  .brand img {
    width: 165px;
  }

  .bottom-container {
    gap: 10px;
  }

  .bottom-content h2 {
    font-size: 17px;
  }

  .about-panel h2 {
    font-size: 19px;
  }

  .bottom-content .button,
  .about-panel .button {
    font-size: 10px;
    padding: 0 6px;
  }

}
