
/* ==========================
   Canvas ICT Software
   Main Stylesheet
========================== */

:root {
  --navy: #07152c;
  --navy-light: #0c2040;
  --primary: #2563eb;
  --blue-light: #38bdf8;
  --text: #17243b;
  --muted: #66758b;
  --white: #ffffff;
  --surface: #f5f8fd;
  --border: #e5ebf4;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button,
a,
label {
  -webkit-tap-highlight-color: transparent;
}

.container {
  width: min(1160px, 90%);
  margin-inline: auto;
}

.section {
  padding: 100px 0;
}

section[id] {
  scroll-margin-top: 85px;
}

/* Navigation */

.header {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
}

.navbar {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.25;
  flex-shrink: 0;
}

.logo small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
}

.logo-icon {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  color: white;
  font-size: 28px;
  font-weight: 800;
  border-radius: 13px;
  background: linear-gradient(135deg, #38bdf8, #2563eb 65%, #1d4ed8);
  box-shadow: 0 8px 20px #2563eb35;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links a {
  font-size: 13px;
  font-weight: 600;
  color: #46536a;
  transition: color 0.25s ease;
}

.nav-links a:hover {
  color: var(--primary);
}

#menu-toggle {
  display: none;
}

.menu-btn {
  display: none;
  cursor: pointer;
  font-size: 25px;
  color: var(--navy);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 49px;
  padding: 0 23px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 700;
  transition: transform 0.25s, box-shadow 0.25s,
    background 0.25s;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn-primary {
  color: white;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  box-shadow: 0 9px 25px #2563eb32;
}

.btn-primary:hover {
  box-shadow: 0 12px 28px #2563eb50;
}

.btn-outline {
  border: 1px solid #7185a5;
  color: white;
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--blue-light);
  background: #ffffff0c;
}

.btn-light {
  color: #12305b;
  background: white;
}

.btn-light:hover {
  box-shadow: 0 10px 30px #00000020;
}

/* Hero */

.hero {
  background:
    radial-gradient(ellipse at 85% 20%, #123d79 0%, transparent 35%),
    linear-gradient(120deg, #061329, #091d3b 60%, #0b2750);
  color: white;
  position: relative;
  overflow: hidden;
  padding: 105px 0 115px;
  isolation: isolate;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 65px;
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: inline-block;
  color: var(--primary);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 18px;
}

.hero .eyebrow {
  color: #7dd3fc;
  display: flex;
  align-items: center;
  gap: 9px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 14px #38bdf8;
}

.hero h1 {
  max-width: 620px;
  font-size: clamp(39px, 5vw, 64px);
  line-height: 1.13;
  letter-spacing: -2.5px;
  font-weight: 800;
}

.hero h1 span,
.section-heading h2 span,
.about-content h2 span,
.contact-box h2 span {
  color: #38bdf8;
}

.hero-content > p {
  max-width: 520px;
  color: #b9c9df;
  font-size: 15px;
  line-height: 1.9;
  margin: 24px 0 30px;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 13px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 35px;
}

.hero-trust span {
  font-size: 10px;
  color: #c7d5e8;
}

.hero-trust b {
  color: #38bdf8;
  margin-right: 5px;
}

/* Hero code illustration */

.hero-visual {
  position: relative;
  padding: 28px 0;
}

.glow {
  position: absolute;
  inset: 10% -5%;
  background: #2563eb30;
  filter: blur(75px);
  border-radius: 50%;
}

.code-window {
  position: relative;
  z-index: 1;
  overflow: hidden;
  background: #0c1729;
  border: 1px solid #3d5476;
  border-radius: 15px;
  box-shadow: 0 30px 75px #00000045;
  transform: perspective(1000px) rotateY(-5deg);
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 17px 20px;
  border-bottom: 1px solid #253650;
  background: #122139;
  color: #8ea4c2;
  font-size: 11px;
}

.window-dots {
  display: flex;
  gap: 6px;
}

.window-dots i {
  width: 9px;
  height: 9px;
  display: block;
  border-radius: 50%;
  background: #fb7185;
}

.window-dots i:nth-child(2) {
  background: #fbbf24;
}

.window-dots i:nth-child(3) {
  background: #34d399;
}

.code-content {
  padding: 27px 24px;
  min-height: 310px;
  color: #d4deed;
  font-family: monospace;
  font-size: clamp(10px, 1.15vw, 13px);
  line-height: 2.15;
}

.code-content .indent {
  padding-left: 24px;
}

.code-purple { color: #c4b5fd; }
.code-green { color: #86efac; }
.code-orange { color: #fdba74; }
.code-blue { color: #7dd3fc; }
.code-comment { color: #7188a7; }

.code-footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px 20px;
  border-top: 1px solid #253650;
  background: #101e32;
  font-size: 10px;
  color: #8da5c3;
}

.code-footer span:first-child {
  color: #6ee7b7;
}

.floating-tag,
.floating-card {
  position: absolute;
  z-index: 2;
  border: 1px solid #ffffff26;
  background: #12284aeb;
  backdrop-filter: blur(12px);
  box-shadow: 0 15px 40px #00000025;
}

.floating-tag {
  top: 0;
  right: -10px;
  padding: 12px 17px;
  color: #dbeafe;
  border-radius: 9px;
  font-size: 11px;
  font-weight: 600;
}

.floating-card {
  bottom: 0;
  left: -28px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-radius: 12px;
}

.floating-icon {
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  color: #7dd3fc;
  background: #2563eb45;
  border-radius: 10px;
  font-size: 25px;
}

.floating-card strong,
.floating-card small {
  display: block;
}

.floating-card strong {
  font-size: 12px;
}

.floating-card small {
  font-size: 10px;
  color: #9db0ca;
}

.hero-orb {
  position: absolute;
  border: 1px solid #ffffff0a;
  border-radius: 50%;
  z-index: -1;
}

.orb-one {
  width: 400px;
  height: 400px;
  top: -250px;
  left: -130px;
}

.orb-two {
  width: 500px;
  height: 500px;
  bottom: -400px;
  right: -100px;
}

/* Section headings */

.section-heading {
  text-align: center;
  max-width: 670px;
  margin: 0 auto 48px;
}

.section-heading .eyebrow {
  margin-bottom: 10px;
}

.section-heading h2,
.about-content h2 {
  font-size: clamp(30px, 3.5vw, 43px);
  line-height: 1.25;
  letter-spacing: -1.4px;
  color: var(--navy);
}

.section-heading h2 span,
.about-content h2 span {
  color: var(--primary);
}

.section-heading > p {
  color: var(--muted);
  font-size: 14px;
  margin-top: 15px;
}

/* Services */

.services {
  background: #f7f9fd;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.service-card {
  padding: 29px 24px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: transform 0.3s, box-shadow 0.3s,
    border-color 0.3s;
}

.service-card:hover {
  transform: translateY(-7px);
  border-color: #b7d4ff;
  box-shadow: 0 18px 45px #173e7610;
}

.service-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 13px;
  background: #eaf2ff;
  color: var(--primary);
  font-size: 27px;
  font-weight: 700;
}

.service-card h3 {
  color: var(--navy);
  font-size: 16px;
  margin-bottom: 11px;
}

.service-card p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
  min-height: 68px;
}

.text-link {
  display: inline-block;
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  margin-top: 20px;
}

.text-link:hover {
  color: #1e40af;
}

/* About */

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 85px;
}

.about-visual {
  position: relative;
  padding: 15px;
}

.about-panel {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 45px;
  color: white;
  border-radius: 20px;
  background:
    radial-gradient(circle at 100% 0%, #2563eb80, transparent 45%),
    linear-gradient(140deg, #061329, #12366b);
  box-shadow: 0 25px 55px #102a4a20;
}

.about-panel::after {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  right: -95px;
  bottom: -95px;
  border: 1px solid #ffffff26;
  border-radius: 50%;
  box-shadow: 0 0 0 30px #ffffff05,
              0 0 0 60px #ffffff04;
}

.about-symbol {
  font-size: 90px;
  line-height: 1;
  font-weight: 800;
  color: #38bdf8;
  margin-bottom: 25px;
}

.about-caption {
  color: #7dd3fc;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
}

.about-panel h3 {
  margin-top: 12px;
  font-size: 28px;
  line-height: 1.3;
}

.about-line {
  width: 45px;
  height: 3px;
  background: #38bdf8;
  margin: 22px 0 12px;
}

.about-panel p {
  font-size: 12px;
  color: #b8cbe4;
}

.about-badge {
  position: absolute;
  right: -15px;
  bottom: 0;
  padding: 15px 20px;
  color: #17418a;
  background: white;
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 12px 35px #102a4a12;
  font-size: 12px;
  font-weight: 700;
}

.about-content > p {
  margin-top: 20px;
  color: var(--muted);
  font-size: 13px;
  line-height: 2;
}

.feature-list {
  display: grid;
  gap: 12px;
  margin: 25px 0 30px;
}

.feature-list div {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 600;
}

.feature-list span {
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e8f2ff;
  color: var(--primary);
  font-size: 12px;
}

/* Projects */

.projects {
  background: #f7f9fd;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.project-card {
  padding: 25px;
  border: 1px solid #e5ebf4;
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px #13294b14;
}

.project-blue { background: #eaf3ff; }
.project-purple { background: #f0edff; }
.project-green { background: #e8faf3; }

.project-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #526984;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
}

.project-top span:last-child {
  font-size: 19px;
}

.project-art {
  min-height: 160px;
  margin: 20px 0;
  display: grid;
  place-items: center;
  border-radius: 12px;
  font-size: 80px;
  font-weight: 800;
}

.art-web {
  background: linear-gradient(135deg, #0b2b58, #2563eb);
  color: white;
}

.art-web span {
  color: #38bdf8;
}

.art-app {
  background: linear-gradient(135deg, #5144c8, #8b5cf6);
  color: white;
}

.art-shop {
  background: linear-gradient(135deg, #047857, #34d399);
  color: white;
}

.project-card h3 {
  color: var(--navy);
  font-size: 17px;
}

.project-card p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
}

.project-note {
  text-align: center;
  color: var(--muted);
  font-size: 11px;
  margin-top: 25px;
}

/* Contact */

.contact-section {
  padding: 80px 0;
  background: white;
}

.contact-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 35px;
  padding: 55px 60px;
  border-radius: 20px;
  color: white;
  background:
    radial-gradient(circle at 90% 0%, #2563eb70, transparent 35%),
    linear-gradient(120deg, #07152c, #0d2b55);
}

.contact-box .eyebrow {
  color: #7dd3fc;
  margin-bottom: 10px;
}

.contact-box h2 {
  font-size: clamp(27px, 3.5vw, 39px);
  line-height: 1.25;
  letter-spacing: -1px;
}

.contact-box p {
  color: #b9c9df;
  font-size: 13px;
  margin-top: 14px;
}

.contact-box .btn {
  flex-shrink: 0;
}

/* Footer */

.footer {
  padding-top: 45px;
  background: #061329;
  color: white;
}

.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding-bottom: 35px;
}

.footer-logo small {
  color: #8ca2c0;
}

.footer-main > p {
  max-width: 260px;
  color: #94a8c5;
  font-size: 11px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.footer-links a,
.footer-bottom a {
  color: #bdcce0;
  font-size: 11px;
  transition: color 0.2s;
}

.footer-links a:hover,
.footer-bottom a:hover {
  color: #38bdf8;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding-top: 20px;
  padding-bottom: 20px;
  border-top: 1px solid #ffffff15;
}

.footer-bottom p {
  color: #7e93b1;
  font-size: 10px;
}

/* Responsive */

@media (max-width: 1000px) {
  .nav-links {
    gap: 17px;
  }

  .hero-grid {
    gap: 35px;
  }

  .hero h1 {
    font-size: 48px;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-grid {
    gap: 45px;
  }

  .contact-box {
    padding: 45px;
  }
}

@media (max-width: 760px) {
  .section {
    padding: 70px 0;
  }

  .navbar {
    min-height: 72px;
    flex-wrap: wrap;
  }

  .menu-btn {
    display: block;
    margin-left: auto;
  }

  .nav-cta {
    display: none;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-bottom: 15px;
  }

  .nav-links a {
    display: block;
    padding: 12px 5px;
  }

  #menu-toggle:checked ~ .nav-links {
    display: flex;
  }

  .hero {
    padding: 75px 0 90px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .hero h1 {
    font-size: clamp(39px, 9vw, 55px);
  }

  .hero-content > p {
    font-size: 14px;
  }

  .hero-visual {
    margin: 10px 10px 15px;
  }

  .code-window {
    transform: none;
  }

  .floating-tag {
    right: -8px;
  }

  .floating-card {
    left: -10px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .about-visual {
    max-width: 500px;
    width: 100%;
    margin-inline: auto;
  }

  .about-content h2 {
    font-size: 34px;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

  .project-art {
    min-height: 180px;
  }

  .contact-box {
    flex-direction: column;
    align-items: flex-start;
    padding: 38px 28px;
  }

  .footer-main {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-main > p {
    max-width: 340px;
  }
}

@media (max-width: 480px) {
  .container {
    width: 91%;
  }

  .hero {
    padding-top: 60px;
  }

  .hero h1 {
    letter-spacing: -1.5px;
  }

  .hero-trust {
    gap: 10px 15px;
  }

  .hero-trust span {
    font-size: 9px;
  }

  .hero-actions .btn {
    padding-inline: 16px;
    font-size: 11px;
  }

  .code-content {
    padding: 22px 15px;
    font-size: 10px;
    min-height: auto;
  }

  .floating-card {
    padding: 11px 13px;
  }

  .floating-tag {
    font-size: 9px;
    padding: 9px 11px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-card p {
    min-height: auto;
  }

  .section-heading h2 {
    font-size: 30px;
  }

  .about-panel {
    min-height: 310px;
    padding: 30px;
  }

  .about-badge {
    right: -3px;
  }

  .contact-box h2 {
    font-size: 29px;
  }

  .footer-links {
    gap: 15px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

/* Accessibility */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
