.services-page section { border-bottom: 0; }
.services-page .marquee-wrapper { border-top: 0; border-bottom: 0; }
.services-page section:not(#hero) p { font-size: 1rem; font-weight: 400; line-height: 1.6; letter-spacing: 0; color: var(--gray); }
.service-overview { padding-top: 50px; }
.contact-layout { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); grid-template-areas:"contact testimonials"; gap:40px; align-items:start; text-align:left; }
.contact-column { grid-area:contact; min-width:0; }
.contact-title, .contact-testimonials > h3 { font-size:2.35rem; font-weight:750; letter-spacing:-0.03em; line-height:1.2; color:var(--text); margin:0 0 24px; }
.contact-intro { color:var(--gray); margin:0 0 28px; }
.contact-form-card { min-width:0; width:100%; background:white; border-radius:24px; padding:40px; box-shadow:0 8px 40px rgba(0,0,0,.06); border:1px solid #eef2f8; position:relative; }
.contact-testimonials { grid-area:testimonials; min-width:0; }
.testimonial-card { padding:24px; border:1px solid var(--border); border-radius:16px; background:var(--card); }
.testimonial-card + .testimonial-card { margin-top:20px; }
.testimonial-heading { display:flex; gap:14px; align-items:center; margin-bottom:18px; }
.testimonial-icon { display:flex; flex-shrink:0; align-items:center; justify-content:center; width:44px; height:44px; background:#eff6ff; border-radius:12px; color:var(--primary); }
.testimonial-heading h4 { font-size:1rem; margin:0 0 4px; }
.testimonial-heading h4 a { color:var(--text); text-decoration:none; }
.testimonial-recommendation { color:var(--gray); font-size:.8rem; margin:0; }
.testimonial-recommendation i { color:var(--primary); margin-right:4px; }
.testimonial-card blockquote { margin:0; }
.testimonial-card blockquote p { color:var(--text-secondary); font-size:.95rem; line-height:1.75; margin:0; }
.testimonial-footer { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:10px; padding-top:18px; margin-top:18px; border-top:1px solid var(--border); font-size:.8rem; color:var(--gray); }
.testimonial-footer a { color:var(--primary); font-weight:600; text-decoration:none; }
.testimonial-card a:hover { text-decoration:underline; }
.testimonial-card a:focus-visible { outline:2px solid var(--primary); outline-offset:4px; }
@media(max-width:900px) { .contact-layout { grid-template-columns:1fr; grid-template-areas:"testimonials" "contact"; gap:48px; max-width:620px; margin:auto; } }
@media(max-width:520px) { .contact-form-card { padding:24px 20px; } .testimonial-card { padding:20px; } }
.about-summary .about-grid { align-items:start; }
.about-summary .about-left { width:100%; height:auto; }
.about-summary h2 { margin-bottom:8px; font-size:2.35rem; font-weight:750; letter-spacing:-0.03em; color:var(--text); }
.about-summary-goals { margin-top:24px; }
.about-summary-technologies { margin-top:32px; padding-top:24px; border-top:1px solid var(--border); }
.about-summary-link { margin-top:28px; }
.about-page .content-heading { padding-bottom:0; }
.about-page .about-full { border-bottom:0; }
.home-services h2 { text-align:center; }
.home-services-lead { max-width:620px; margin:0 auto 36px; color:var(--gray); text-align:center; }
.home-services-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:20px; }
.home-service-card { position:relative; display:flex; flex-direction:column; min-width:0; padding:28px 24px; border:1px solid var(--border); border-radius:14px; background:var(--card); color:var(--text); text-decoration:none; transition:border-color .2s,box-shadow .2s; }
.home-service-icon { display:flex; align-items:center; justify-content:center; width:50px; height:50px; margin-bottom:24px; border-radius:12px; background:#eff6ff; color:var(--primary); font-size:1.3rem; }
.home-service-card h3 { font-size:1.15rem; line-height:1.4; margin-bottom:12px; overflow-wrap:anywhere; }
.home-service-card p { font-size:.92rem; color:var(--gray); line-height:1.65; margin:0; }
.home-service-arrow { position:absolute; top:24px; right:24px; color:var(--primary); font-size:1.2rem; }
.home-service-card:hover { border-color:var(--primary); box-shadow:0 10px 24px rgba(37,99,235,.08); }
.home-service-card:focus-visible { outline:3px solid var(--primary); outline-offset:4px; }
@media(max-width:1100px) { .home-services-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media(max-width:800px) { .home-services-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:520px) { .home-services-grid { grid-template-columns:1fr; gap:14px; } .home-service-card { padding:24px; } }
.hero-project { display:block; min-width:0; width:100%; color:var(--text); text-decoration:none; }
.hero-monitor { overflow:hidden; border:8px solid #202736; border-radius:16px; background:#202736; box-shadow:0 24px 55px rgba(15,23,42,.2); }
.hero-browser-bar { display:flex; align-items:center; gap:14px; padding:10px 12px; background:#f1f5f9; color:#64748b; font-size:.75rem; }
.hero-browser-dots { display:flex; gap:5px; }
.hero-browser-dots i { width:7px; height:7px; background:#cbd5e1; border-radius:50%; }
.hero-browser-title { flex:1; text-align:center; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.hero-project-screen { aspect-ratio:16/10; overflow:hidden; background:#fff; }
.hero-project-screen picture { display:block; width:100%; height:100%; }
.hero-project-screen img { display:block; width:100%; height:100%; object-fit:cover; object-position:top; }
.hero-monitor-chin { display:flex; justify-content:center; padding-top:10px; padding-bottom:2px; }
.hero-monitor-chin span { width:5px; height:5px; border-radius:50%; background:#64748b; }
.hero-monitor-stand { width:19%; height:35px; margin:auto; background:linear-gradient(90deg,#94a3b8,#e2e8f0 48%,#94a3b8); clip-path:polygon(15% 0,85% 0,100% 100%,0 100%); }
.hero-monitor-base { width:36%; height:8px; margin:auto; border-radius:50% 50% 4px 4px; background:linear-gradient(#cbd5e1,#94a3b8); }
.hero-project:hover .hero-monitor { border-color:#334155; }
.hero-project:focus-visible { outline:3px solid var(--primary); outline-offset:8px; border-radius:16px; }
@media (max-width:992px) { .hero-project { display:none; } #hero .hero-grid { gap:0; } }
.service-overview-grid { display:grid; grid-template-columns:minmax(0,1.6fr) minmax(0,1fr); gap:48px; align-items:start; }
.service-overview-grid > * { min-width:0; }
.service-audience { padding:32px; background:#eff6ff; border:1px solid #dbeafe; border-radius:16px; }
.service-audience-icon { display:inline-flex; align-items:center; justify-content:center; width:48px; height:48px; border-radius:12px; background:white; color:var(--primary); font-size:1.3rem; margin-bottom:20px; }
.service-audience h3 { font-size:1.4rem; margin-bottom:14px; }
.service-audience p { margin-bottom:24px; }
.service-consultation { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:24px 28px; border:1px solid var(--border); border-radius:12px; }
.service-section-heading { display:flex; align-items:center; justify-content:space-between; gap:24px; margin-bottom:32px; }
.service-section-heading h2 { margin-bottom:0; }
.service-work-note { margin-bottom:24px; }
.service-work .project-card { display:flex; flex-direction:column; }
.service-work .project-card h3 { margin-bottom:24px; }
.service-work .project-read-more { align-self:flex-start; margin-top:auto; }
.service-faq-list { max-width:900px; margin-inline:auto; border-top:1px solid var(--border); }
.service-faq-list details { border-bottom:1px solid var(--border); }
.service-faq-list summary { position:relative; padding:24px 44px 24px 0; font-size:1.1rem; font-weight:600; cursor:pointer; list-style:none; }
.service-faq-list summary::-webkit-details-marker { display:none; }
.service-faq-list summary::after { content:'+'; position:absolute; right:8px; top:20px; font-size:1.5rem; color:var(--primary); }
.service-faq-list details[open] summary::after { content:'−'; }
.service-faq-list details p { padding:0 44px 24px 0; }
.service-faq-list summary:focus-visible { outline:2px solid var(--primary); outline-offset:4px; }
.service-final-box { padding:64px 40px; border-radius:20px; background:linear-gradient(125deg,#1d4ed8,#2563eb 60%,#0e7490); text-align:center; }
.service-final-box h2 { color:white; max-width:760px; margin:0 auto 20px; }
.service-final-box p { color:#fff; margin-bottom:28px; }
.services-page section.service-final:not(#hero) .service-final-box p { color:#fff; margin-bottom:28px; }
.service-final-box .btn { background:white; color:#1d4ed8; border:1px solid white; white-space:normal; }
.service-final-box .btn:hover { background:#eff6ff; }
@media (max-width:900px) { .service-overview-grid { grid-template-columns:1fr; gap:24px; } }
@media (max-width:600px) { .service-audience { padding:24px; } .service-consultation,.service-section-heading { flex-direction:column; align-items:flex-start; } .service-final-box { padding:40px 20px; } }
.service-lead { max-width: 860px; margin-bottom: 24px; }
.service-copy { max-width: 860px; color: var(--gray); }
.service-copy p { margin-bottom: 20px; }
.service-copy h3 { color: var(--text); margin: 28px 0 10px; }
.service-solutions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; margin-bottom: 32px; }
.service-solutions h3, .service-process h3 { font-size: 1.15rem; margin-bottom: 10px; color: var(--text); }
.service-solutions p, .service-process p { color: var(--gray); }
.service-process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; padding-left: 22px; margin-bottom: 20px; }
.service-process li { padding-left: 4px; }
.service-solutions > div, .service-process li { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 900px) { .service-solutions, .service-process { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .service-solutions, .service-process { grid-template-columns: 1fr; gap: 24px; } }

.nav-dropdown { position: relative; }
.services-toggle { display: inline-flex; align-items: center; gap: 8px; background: transparent; border: 0; color: var(--text-secondary); font: inherit; font-size: .92rem; font-weight: 600; cursor: pointer; padding: 8px 0; }
.services-toggle { position: relative; }
.services-toggle::after { content: ""; position: absolute; bottom: -3px; left: 0; width: 0; height: 2px; background: var(--primary); transition: width 0.25s ease; border-radius: 2px; }
.services-toggle:hover, .services-toggle.active, .services-toggle[aria-expanded="true"] { color: var(--text); }
.services-toggle:hover::after, .services-toggle.active::after, .services-toggle[aria-expanded="true"]::after { width: 100%; }
.services-menu { position: absolute; top: 100%; left: 0; width: 290px; list-style: none; padding: 8px; background: var(--card); border: 1px solid var(--border); border-radius: 7px; box-shadow: 0 8px 24px rgba(15,23,42,.12); }
.services-menu[hidden] { display: none; }
.nav-links .services-menu a { display: flex; align-items: center; padding: 10px; white-space: normal; }
.content-heading { padding: 130px 0 45px; }
.content-heading h1 { font-size: 2.8rem; line-height: 1.2; margin: 16px 0; overflow-wrap: anywhere; }
.content-heading p { max-width: 760px; color: var(--gray); font-size: 1.1rem; }
.content-heading .hero-buttons { margin-top: 24px; }
.project-copy { margin-bottom: 32px; overflow-wrap: anywhere; }
.project-copy p { color: var(--gray); font-size: 1rem; line-height: 1.8; margin: 0 0 24px; }
.project-copy h3 { color: var(--text); font-size: 1.35rem; line-height: 1.35; margin: 30px 0 14px; letter-spacing: -0.02em; }
.project-copy p:last-child { margin-bottom: 0; }
.service-features { list-style: none; display: grid; gap: 18px; padding-bottom: 30px; }
.service-features i { margin-right: 12px; color: var(--primary); }
.blog-grid h2 { font-size: 1.4rem; line-height: 1.4; margin: 12px 0; letter-spacing: 0; overflow-wrap: anywhere; }
.blog-grid p { color: var(--gray); margin-bottom: 20px; overflow-wrap: anywhere; }
.blog-grid time, .content-heading time { color: var(--gray); font-size: .9rem; }
.article-width { max-width: 780px; }
.blog-article section { border-bottom: 0; }
.blog-article .content-heading { padding-bottom: 16px; }
.blog-article .content-heading h1 { font-size: 2.4rem; letter-spacing: 0; }
.blog-article .content-heading p { color: var(--text-secondary); line-height: 1.7; margin-top: 18px; }
.blog-article .article-body { font-size: 1rem; line-height: 1.8; color: var(--text-secondary); }
.blog-article .article-body h2 { font-size: 1.55rem; line-height: 1.35; letter-spacing: 0; margin: 36px 0 14px; overflow-wrap: anywhere; scroll-margin-top: 100px; }
.blog-article .article-body h3 { font-size: 1.2rem; line-height: 1.4; margin: 28px 0 12px; overflow-wrap: anywhere; }
.blog-article .article-body ul, .blog-article .article-body ol { padding-left: 24px; margin: 0 0 24px; }
.blog-article .article-body li { padding-left: 5px; margin-bottom: 10px; overflow-wrap: anywhere; }
.blog-article .article-body li::marker { color: var(--primary); }
.blog-article .article-body li p { margin-bottom: 8px; }
.blog-article .article-body blockquote { border-left: 3px solid var(--primary); padding: 8px 0 8px 20px; margin: 28px 0; color: var(--text); }
.blog-article .article-body blockquote p:last-child { margin-bottom: 0; }
.article-end { margin-top: 40px; padding-bottom: 24px; }
@media (max-width: 520px) { .blog-article .content-heading h1 { font-size: 1.9rem; } }
.article-body p { margin-bottom: 24px; overflow-wrap: anywhere; }
.blog-article .article-body a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.article-image { width: 100%; height: auto; max-height: 480px; object-fit: cover; margin-bottom: 30px; border-radius: 7px; }
.empty-state { padding: 30px 0 60px; color: var(--gray); }
@media (max-width: 1060px) {
  #navbar .nav-links { max-height: calc(100dvh - 80px); overflow-y: auto; }
  .services-menu { position: static; width: 100%; margin-top: 8px; box-shadow: none; }
}
@media (min-width: 769px) and (max-width: 1060px) {
  #navbar .hamburger { display: flex; }
  #navbar .nav-links { display: none; flex-direction: column; align-items: stretch; background: #fff; padding: 15px; border-radius: 8px; position: absolute; top: 65px; right: 18px; width: 215px; border: 1px solid var(--border); box-shadow: 0 12px 30px rgba(15,23,42,.1); }
  #navbar .nav-links.open { display: flex; }
  #navbar .nav-links a { padding: 8px 5px; }
}
@media (max-width: 520px) { .content-heading h1 { font-size: 2rem; } .content-heading .hero-buttons { flex-wrap: wrap; } }

.nav-actions { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.language-switcher { display: flex; gap: 4px; align-items: center; }
.language-switcher a { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 38px; padding: 7px; border: 1px solid transparent; border-radius: 7px; color: var(--gray); font-size: .8rem; font-weight: 600; text-decoration: none; }
.language-switcher a[aria-current="true"] { border-color: var(--border); color: var(--primary); background: var(--card); }
.language-switcher a:hover { color: var(--primary); }
.language-switcher a:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.language-switcher img { display: block; width: 24px; height: 16px; object-fit: cover; border-radius: 2px; box-shadow: 0 0 0 1px rgba(15,23,42,.1); }
@media (min-width: 1061px) and (max-width: 1180px) { #navbar .nav-links { gap: 16px; } }
@media (max-width: 400px) { .nav-actions { gap: 10px; } .language-switcher a { gap: 4px; padding: 5px; } }

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

:root {
  --bg: #f5f6f8;
  --bg-secondary: #eceff3;
  --card: #ffffff;

  --border: #d9dee5;
  --border-dark: #c8ced6;

  --primary: #2563eb;
  --primary-dark: #1d4ed8;

  --secondary: #475569;
  --green: #16a34a;

  --gray: #64748b;
  --text: #111827;
  --text-secondary: #334155;

  --dark: #111827;
  --dark-secondary: #1e293b;

  --radius: 10px;
  --transition: 0.25s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    Inter,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;

  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: var(--primary);
  text-decoration: none;
}

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

section {
  padding: 30px 0;
  border-bottom: 1px solid var(--border);
}

h2, .privacy-title {
  font-size: 2.35rem;
  font-weight: 750;
  letter-spacing: -0.03em;
  margin-bottom: 32px;
  color: var(--text);
}

h2 .highlight, .privacy-title .highlight {
  color: var(--primary);
  background: none;
  -webkit-text-fill-color: initial;
}

h3 .highlight {
  color: var(--primary);
  background: none;
  -webkit-text-fill-color: initial;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 11px 24px;

  border-radius: 7px;

  font-weight: 600;
  font-size: 0.92rem;

  border: 1px solid var(--border-dark);

  background: #fff;
  color: var(--text);

  transition:
    background var(--transition),
    border-color var(--transition),
    color var(--transition),
    transform var(--transition),
    box-shadow var(--transition);

  cursor: pointer;
}

.btn i {
  margin-right: 8px;
}

.btn-primary {
  background: var(--dark);
  color: #fff;
  border-color: var(--dark);

  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
}

.btn-primary:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 7px 18px rgba(37, 99, 235, 0.18);
}

.btn-outline {
  background: #fff;
  border-color: var(--border-dark);
  color: var(--text);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: #f8fafc;
  transform: translateY(-2px);
}

.badge {
  display: inline-flex;
  align-items: center;

  background: #fff;

  color: var(--primary);

  padding: 6px 13px;

  border-radius: 6px;

  font-size: 0.76rem;
  font-weight: 650;
  letter-spacing: 0.5px;

  border: 1px solid #bfdbfe;

  margin-bottom: 14px;
}

.badge i {
  margin-right: 7px;
}

nav {
  position: fixed;

  top: 0;
  left: 0;

  width: 100%;

  z-index: 999;

  padding: 15px 24px;

  background: rgba(245, 246, 248, 0.94);

  border-bottom: 1px solid transparent;

  transition: all 0.25s ease;
}

nav.scrolled {
  background: rgba(255, 255, 255, 0.94);

  backdrop-filter: blur(14px);

  border-bottom: 1px solid var(--border);

  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
}

.nav-inner {
  display: flex;

  justify-content: space-between;
  align-items: center;

  max-width: 1240px;

  margin: 0 auto;
}

.logo {
  display: flex;

  align-items: center;

  gap: 10px;

  font-weight: 750;

  font-size: 1.5rem;

  letter-spacing: -0.5px;
}

.logo img {
  height: 38px;

  width: auto;

  display: block;
}

.logo-text {
  color: var(--dark);

  background: none;

  -webkit-text-fill-color: initial;
}

.nav-links {
  display: flex;

  gap: 30px;

  list-style: none;

  align-items: center;
}

.nav-links a {
  color: var(--gray);

  font-weight: 550;

  font-size: 0.9rem;

  transition: color 0.2s;

  position: relative;

  padding-bottom: 4px;
}

.nav-links a i {
  margin-right: 6px;
}

.nav-links a::after {
  content: "";

  position: absolute;

  bottom: -3px;

  left: 0;

  width: 0;

  height: 2px;

  background: var(--primary);

  transition: width 0.25s ease;

  border-radius: 2px;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

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

.hamburger {
  display: none;

  flex-direction: column;

  gap: 5px;

  background: none;

  border: none;

  cursor: pointer;
}

.hamburger span {
  width: 25px;

  height: 2px;

  background: var(--dark);

  border-radius: 4px;

  transition: 0.3s;
}

#hero {
  min-height: 100vh;

  display: flex;

  align-items: center;

  background:
    linear-gradient(
      180deg,
      #f8fafc 0%,
      #f5f6f8 100%
    );

  position: relative;
}

#hero::before {
  content: "";

  position: absolute;

  top: 0;
  right: 0;

  width: 45%;
  height: 100%;

  background-image:
    linear-gradient(
      rgba(15, 23, 42, 0.025) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(15, 23, 42, 0.025) 1px,
      transparent 1px
    );

  background-size: 32px 32px;

  pointer-events: none;

  mask-image: linear-gradient(
    to left,
    black,
    transparent
  );
}

.hero-grid {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 64px;

  align-items: center;

  position: relative;

  z-index: 1;
}

.hero-content h1 {
  font-size: 3.35rem;

  font-weight: 760;

  letter-spacing: -0.045em;

  line-height: 1.12;

  margin: 16px 0 22px;

  max-width: 650px;

  color: #0f172a;
}

.hero-content h1 .highlight {
  color: var(--primary);

  background: none;

  -webkit-text-fill-color: initial;
}

.hero-content p {
  color: var(--gray);

  font-size: 1.08rem;

  max-width: 560px;

  margin-bottom: 30px;
}

.hero-content p strong {
  color: var(--text-secondary);
}

.hero-features {
  display: flex;

  gap: 16px 22px;

  flex-wrap: wrap;

  margin: 22px 0 28px;

  color: var(--gray);

  font-size: 0.91rem;
}

.hero-features span i {
  color: var(--green);

  margin-right: 6px;
}

.hero-buttons {
  display: flex;

  gap: 12px;

  flex-wrap: wrap;
}

.code-editor {
  background: #1e1e1e;

  border-radius: 9px;

  border: 1px solid #303030;

  padding: 48px 22px 22px;

  font-family:
    "JetBrains Mono",
    "Fira Code",
    Consolas,
    monospace;

  font-size: 0.82rem;

  line-height: 1.75;

  box-shadow:
    0 25px 50px rgba(15, 23, 42, 0.18),
    0 4px 12px rgba(15, 23, 42, 0.08);

  position: relative;

  overflow: hidden;

  color: #d4d4d4;
}

.code-editor::before {
  content: "●  ●  ●";

  position: absolute;

  top: 12px;
  left: 16px;

  color: #777;

  font-size: 0.65rem;

  letter-spacing: 3px;
}

.code-editor::after {
  content: "tasks.php";

  position: absolute;

  top: 0;
  left: 80px;

  height: 38px;

  display: flex;

  align-items: center;

  padding: 0 18px;

  color: #d4d4d4;

  font-size: 0.72rem;

  background: #181818;

  border-left: 1px solid #303030;

  border-right: 1px solid #303030;
}

.code-editor .line {
  opacity: 0;

  transform: translateY(5px);

  animation: typeIn 0.4s forwards;

  white-space: pre-wrap;
}

.code-editor .line:nth-child(1) {
  animation-delay: 0.1s;
}

.code-editor .line:nth-child(2) {
  animation-delay: 0.2s;
}

.code-editor .line:nth-child(3) {
  animation-delay: 0.3s;
}

.code-editor .line:nth-child(4) {
  animation-delay: 0.4s;
}

.code-editor .line:nth-child(5) {
  animation-delay: 0.5s;
}

.code-editor .line:nth-child(6) {
  animation-delay: 0.6s;
}

.code-editor .line:nth-child(7) {
  animation-delay: 0.7s;
}

.code-editor .line:nth-child(8) {
  animation-delay: 0.8s;
}

.code-editor .line:nth-child(9) {
  animation-delay: 0.9s;
}

.code-editor .line:nth-child(10) {
  animation-delay: 1s;
}

.code-editor .line:nth-child(11) {
  animation-delay: 1.1s;
}

.code-editor .line:nth-child(12) {
  animation-delay: 1.2s;
}

.code-editor .line:nth-child(13) {
  animation-delay: 1.3s;
}

.code-editor .line:nth-child(14) {
  animation-delay: 1.4s;
}

.code-editor .line:nth-child(15) {
  animation-delay: 1.5s;
}

.code-editor .line:nth-child(16) {
  animation-delay: 1.6s;
}

.code-editor .line:nth-child(17) {
  animation-delay: 1.7s;
}

.code-editor .line:nth-child(18) {
  animation-delay: 1.8s;
}

.code-editor .line:nth-child(19) {
  animation-delay: 1.9s;
}

.code-editor .line:nth-child(20) {
  animation-delay: 2s;
}

.code-editor .line:nth-child(21) {
  animation-delay: 2.1s;
}

.code-editor .line:nth-child(22) {
  animation-delay: 2.2s;
}

.code-editor .line:nth-child(23) {
  animation-delay: 2.3s;
}

.code-editor .line:nth-child(24) {
  animation-delay: 2.4s;
}

.code-editor .line:nth-child(25) {
  animation-delay: 2.5s;
}

.code-editor .line:nth-child(26) {
  animation-delay: 2.7s;
}

.code-editor .line:nth-child(27) {
  animation-delay: 2.9s;
}

.code-editor .line:nth-child(28) {
  animation-delay: 3.1s;
}

.code-editor .line:nth-child(29) {
  animation-delay: 3.3s;
}

@keyframes typeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.code-editor .comment {
  color: #6a9955;
}

.code-editor .keyword {
  color: #c586c0;
}

.code-editor .func {
  color: #dcdcaa;
}

.code-editor .string {
  color: #ce9178;
}

.code-editor .var {
  color: #9cdcfe;
}

.floating-tags {
  position: absolute;

  top: 13px;
  right: 18px;

  color: #858585;

  font-size: 0.67rem;

  opacity: 0.8;

  font-family: monospace;

  animation: none;
}

@keyframes floatTag {
  from,
  to {
    opacity: 0.8;

    transform: none;
  }
}

.reveal {
  opacity: 0;

  transform: translateY(30px);

  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;

  transform: translateY(0);
}

.stagger > * {
  opacity: 0;

  transform: translateY(22px);

  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}

.stagger.visible > *:nth-child(1) {
  transition-delay: 0.05s;

  opacity: 1;

  transform: translateY(0);
}

.stagger.visible > *:nth-child(2) {
  transition-delay: 0.12s;

  opacity: 1;

  transform: translateY(0);
}

.stagger.visible > *:nth-child(3) {
  transition-delay: 0.19s;

  opacity: 1;

  transform: translateY(0);
}

.stagger.visible > *:nth-child(4) {
  transition-delay: 0.26s;

  opacity: 1;

  transform: translateY(0);
}

.stagger.visible > *:nth-child(5) {
  transition-delay: 0.33s;

  opacity: 1;

  transform: translateY(0);
}

.stagger.visible > *:nth-child(6) {
  transition-delay: 0.43s;

  opacity: 1;

  transform: translateY(0);
}

.stagger.visible > *:nth-child(7) {
  transition-delay: 0.46s;

  opacity: 1;

  transform: translateY(0);
}

.stagger.visible > *:nth-child(8) {
  transition-delay: 0.49s;

  opacity: 1;

  transform: translateY(0);
}

.stagger.visible > *:nth-child(9) {
  transition-delay: 0.51s;

  opacity: 1;

  transform: translateY(0);
}

.marquee-wrapper {
  overflow: hidden;

  white-space: nowrap;

  padding: 18px 0;

  border-top: 1px solid var(--border);

  border-bottom: 1px solid var(--border);

  margin: 0;

  background: #fff;
}

.marquee-track {
  display: inline-flex;

  animation: marqueeScroll 35s linear infinite;

  font-size: 0.9rem;

  letter-spacing: 0.5px;

  color: var(--gray);
}

.marquee-track span {
  margin: 0 24px;

  font-weight: 550;
}

.marquee-track i {
  margin: 0 24px;
}

.marquee-track .tech-highlight {
  color: var(--text);
}

.marquee-track .tech-secondary {
  color: var(--primary);
}

@keyframes marqueeScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

#projects {
  background: #fff;
}

.project-grid {
  display: grid;

  grid-template-columns:
    repeat(auto-fit, minmax(310px, 1fr));

  gap: 24px;
}

.project-card {
  background: #fff;

  border: 1px solid var(--border);

  border-radius: 9px;

  padding: 18px;

  transition:
    border-color var(--transition),
    transform var(--transition),
    box-shadow var(--transition);

  display: flex;

  flex-direction: column;
}

.project-card:hover {
  border-color: #b8c4d2;

  transform: translateY(-4px);

  box-shadow:
    0 12px 30px rgba(15, 23, 42, 0.08);
}

.project-card h3 {
  font-size: 1.3rem;

  margin-bottom: 4px;

  color: var(--text);

  letter-spacing: -0.02em;
}

.project-card p {
  color: var(--gray);

  line-height: 1.65;
}

.project-card .tech,
.project-detail .tech {
  display: flex;

  flex-wrap: wrap;

  gap: 6px;

  margin: 12px 0;
}

.project-card .tech span,
.project-detail .tech span {
  background: #f1f5f9;

  padding: 4px 10px;

  border-radius: 5px;

  font-size: 0.7rem;

  border: 1px solid var(--border);

  color: #475569;
}

.project-card > div:last-child {
  margin-top: auto !important;
}

.project-image {
  border-radius: 7px;

  height: 205px;

  overflow: hidden;

  margin-bottom: 18px;

  border: 1px solid var(--border);

  background: var(--bg-secondary);
}

.project-image img {
  width: 100%;

  height: 100%;

  object-fit: cover;

  display: block;

  transition: transform 0.4s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.025);
}

.project-image img.top {
  object-position: top;
}

.project-image img.center-top {
  object-position: 50% 0%;
}

#about {
  background: var(--bg);
}

.about-grid {
  display: grid;

  grid-template-columns: 0.85fr 1.5fr;

  gap: 70px;

  align-items: start;
}

.about-left {
  position: relative;

  height: 100%;
}

.about-sticky {
  position: sticky;

  top: 100px;
}

.about-image {
  position: relative;

  border-radius: 9px;

  overflow: hidden;

  border: 1px solid var(--border);

  aspect-ratio: 1 / 1;

  max-width: 390px;

  margin: 0 auto;

  background: #fff;
}

.about-image img {
  width: 100%;

  height: 100%;

  object-fit: cover;

  object-position: top;

  display: block;

  transition: transform 0.3s ease;
}

.about-image:hover img {
  transform: scale(1.015);
}

.about-image .name-tag {
  position: absolute;

  bottom: 15px;

  left: 15px;

  background: rgba(15, 23, 42, 0.92);

  padding: 7px 13px;

  border-radius: 5px;

  border: 1px solid rgba(255, 255, 255, 0.1);

  color: #fff;

  font-weight: 600;

  font-size: 0.8rem;
}

.stats-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 10px;

  margin-top: 16px;
}

.stats-grid .stat-item {
  background: #fff;

  border: 1px solid var(--border);

  border-radius: 8px;

  padding: 14px 8px;

  text-align: center;

  transition: all var(--transition);
}

.stats-grid .stat-item:hover {
  border-color: var(--border-dark);

  transform: translateY(-2px);

  box-shadow:
    0 5px 15px rgba(15, 23, 42, 0.05);
}

.stats-grid .stat-number {
  font-size: 1.75rem;

  font-weight: 750;

  color: var(--dark);
}

.stats-grid .stat-number.primary {
  color: var(--primary);
}

.stats-grid .stat-number.secondary {
  color: var(--secondary);
}

.stats-grid .stat-number.green {
  color: var(--green);
}

.stats-grid .stat-label {
  color: var(--gray);

  font-size: 0.75rem;
}

.about-right h3 {
  color: var(--text);

  margin-bottom: 8px;

  display: flex;

  align-items: center;

  gap: 8px;

  font-size: 1rem;
}

.about-right h3 i {
  color: var(--primary);

  font-size: 1rem;
}

.about-right p {
  color: var(--gray);

  line-height: 1.8;

  margin-bottom: 12px;
}

.about-right strong {
  color: var(--text);
}

.about-right .highlight-box {
  padding: 18px;

  background: #fff;

  border-radius: 7px;

  border: 1px solid var(--border);

  border-left: 3px solid var(--primary);

  box-shadow:
    0 4px 12px rgba(15, 23, 42, 0.035);
}

.about-right .highlight-box strong {
  color: var(--text);
}

.skill-tags {
  display: flex;

  flex-wrap: wrap;

  gap: 7px;

  margin-top: 16px;
}

.skill-tags span {
  background: #fff;

  padding: 6px 14px;

  border-radius: 5px;

  font-size: 0.8rem;

  border: 1px solid var(--border);

  color: var(--text-secondary);
}

#contact {
  background: #fff;
}

#contact .btn {
  min-width: 205px;
}

footer {
  background: #f5f6f8;

  padding: 58px 0 24px;

  border-top: 1px solid #d4d5d6;

  margin-top: 0;
}

.footer-grid {
  display: grid;

  grid-template-columns:
    2fr 1fr 1.2fr 1.5fr;

  gap: 40px;

  margin-bottom: 16px;
}

.footer-grid .footer-heading {
  color: var(--dark);

  font-size: 0.9rem;
  font-weight:700;

  margin-bottom: 13px;

  letter-spacing: 0.3px;
}

.footer-grid ul {
  list-style: none;

  padding: 0;

  margin: 0;
}

.footer-grid ul li {
  margin-bottom: 8px;
}

.footer-grid ul li a,
.footer-grid ul li span {
  color: #3a3a3a;

  font-size: 0.85rem;

  transition: color 0.2s ease;

  text-decoration: none;
}

.footer-grid ul li a:hover {
  color: var(--primary);
}

.footer-grid ul li a i {
  margin-right: 8px;

  width: 16px;
}

.footer-brand .logo {
  display: flex;

  align-items: center;

  gap: 12px;

  font-weight: 700;

  font-size: 2rem;

  margin-bottom: 8px;
}

.footer-brand .logo img {
  height: 48px;

  width: auto;

  display: block;
}

.footer-brand p {
  color: #3a3a3a;

  font-size: 0.9rem;

  line-height: 1.6;

  max-width: 300px;

  margin: 8px 0 16px;
}

.footer-social {
  display: flex;

  gap: 16px;

  margin-top: 16px;
}

.footer-social a {
  color: #3a3a3a;

  font-size: 1.2rem;

  transition: color 0.2s ease;
}

.footer-social a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid #d4d5d6;

  margin-top: 32px;

  padding-top: 22px;

  display: flex;

  justify-content: space-between;

  align-items: center;

  flex-wrap: wrap;

  gap: 16px;
}

.footer-bottom p {
  color: #3a3a3a;

  font-size: 0.8rem;

  margin: 0;
}

.footer-bottom a {
  color: #3a3a3a;

  transition: color 0.2s ease;

  text-decoration: none;

  font-size: 0.75rem;
}

.footer-bottom a:hover {
  color: var(--primary);
}

.footer-bottom .divider {
  color: #334155;
}

@media (max-width: 992px) {

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

    gap: 45px;
  }

  .code-editor {
    max-width: 100%;
  }

  .about-grid {
    grid-template-columns: 1fr;

    gap: 45px;
  }

  .about-left {
    max-width: 400px;

    margin: 0 auto;

    height: auto;
  }

  .about-sticky {
    position: relative;

    top: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;

    gap: 32px;
  }
}


@media (max-width: 768px) {

  nav {
    padding: 14px 18px;
  }

  .nav-links {

    display: none;

    flex-direction: column;

    align-items: stretch;

    background: #fff;

    padding: 15px;

    border-radius: 8px;

    position: absolute;

    top: 65px;

    right: 18px;

    width: 215px;

    border: 1px solid var(--border);

    box-shadow:
      0 12px 30px rgba(15, 23, 42, 0.1);
  }

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

  .nav-links a {
    padding: 8px 5px;
  }

  .hamburger {
    display: flex;
  }

  section {
    padding: 65px 0;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-content h1 {
    font-size: 2.45rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .project-grid {
    grid-template-columns: 1fr;

    max-width: 500px;

    margin: 0 auto;
  }

  .stats-grid {
    grid-template-columns: repeat(3, 1fr) !important;

    gap: 8px !important;
  }

  .stats-grid .stat-item {
    padding: 11px 5px !important;
  }

  .stats-grid .stat-number {
    font-size: 1.4rem !important;
  }

  .stats-grid .stat-label {
    font-size: 0.7rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;

    gap: 28px;

    text-align: center;
  }

  .footer-brand p {
    max-width: 100%;

    margin-left: auto;

    margin-right: auto;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;

    text-align: center;
  }

  .footer-grid ul {
    text-align: center;
  }

  .footer-contact ul li {
    justify-content: center;
  }

  .footer-brand .logo {
    justify-content: center;
  }

  .code-editor {
    font-size: 0.68rem;

    line-height: 1.65;

    padding: 45px 14px 18px;

    overflow-x: auto;
  }

  .floating-tags {
    font-size: 0.55rem;

    right: 10px;
  }

  .code-editor::after {
    left: 65px;

    font-size: 0.62rem;
  }
}


@media (max-width: 576px) {

  #hero {
    padding-top: 70px;
  }

  .container {
    padding: 0 16px;
  }

  section {
    padding: 55px 0;
  }

  .hero-content h1 {
    font-size: 2.15rem;
  }

  .hero-features {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 10px;
  }

  .hero-buttons {
    flex-direction: column;
  }

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

  .project-image {
    height: 190px;
  }

  .code-editor {
    font-size: 0.61rem;
  }
}


@media (prefers-reduced-motion: reduce) {

  .reveal {
    opacity: 1 !important;

    transform: none !important;
  }

  .code-editor .line {
    animation: none;

    opacity: 1;

    transform: none;
  }

  .marquee-track {
    animation: none;
  }

  .stagger > * {
    opacity: 1;

    transform: none;
  }
}

.whatsapp-float {
    position: fixed;
    right: 25px;
    bottom: 25px;

    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #25D366;
    color: #fff;

    border-radius: 50%;

    font-size: 32px;
    text-decoration: none;

    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.25);

    z-index: 9999;

    transition: transform 0.25s ease,
                box-shadow 0.25s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .reveal {
        opacity: 1;
        transform: none;
    }

    .stagger > * {
        opacity: 1;
        transform: none;
    }

    .code-editor .line {
        opacity: 1;
        transform: none;
        animation: none;
    }
}

    #cookie-overlay {
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.7);
      backdrop-filter: blur(6px);
      -webkit-backdrop-filter: blur(6px);
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 9999;
      padding: 1.5rem;
      transition: opacity 0.4s ease, visibility 0.4s ease;
      opacity: 0;
      visibility: hidden;
    }
    #cookie-overlay.active {
      opacity: 1;
      visibility: visible;
    }

    .cookie-popup {
      background: var(--bg);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      max-width: 680px;
      width: 100%;
      padding: 2.2rem 2.5rem;
      box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
      transform: scale(0.95) translateY(20px);
      transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
      opacity: 0;
    }
    #cookie-overlay.active .cookie-popup {
      transform: scale(1) translateY(0);
      opacity: 1;
    }

    .cookie-popup .icon-wrap {
      font-size: 2.6rem;
      color: var(--primary);
      margin-bottom: 0.4rem;
      display: flex;
      align-items: center;
      gap: 0.6rem;
    }
    .cookie-popup .icon-wrap i {
      background: var(--primary);
      padding: 0.6rem;
      border-radius: 50%;
    }
    .cookie-popup h2 {
      font-size: 1.8rem;
      font-weight: 700;
      margin: 0.2rem 0 0.5rem;
      letter-spacing: -0.01em;
      color: var(--white);
    }
    .cookie-popup p {
      color: var(--gray);
      font-size: 0.98rem;
      margin: 0.6rem 0 1.2rem;
      line-height: 1.6;
    }
    .cookie-popup .policy-links {
      display: flex;
      flex-wrap: wrap;
      gap: 0.8rem 1.8rem;
      font-size: 0.9rem;
      margin: 0.8rem 0 1.5rem;
      border-top: 1px solid var(--border);
      padding-top: 1.2rem;
    }
    .cookie-popup .policy-links a {
      color: var(--primary);
      text-decoration: none;
      font-weight: 500;
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
      transition: color 0.2s;
    }
    .cookie-popup .policy-links a:hover {
      color: #a0baff;
      text-decoration: underline;
    }

    .cookie-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 0.8rem;
      margin-top: 0.4rem;
    }
    .cookie-actions .btn {
      padding: 0.7rem 1.8rem;
      border-radius: 60px;
      font-weight: 600;
      font-size: 0.95rem;
      border: none;
      cursor: pointer;
      transition: all 0.2s ease;
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      font-family: inherit;
      background: var(--card);
      color: var(--white);
      border: 1px solid var(--border);
    }
    .cookie-actions .btn-primary {
      background: var(--primary);
      color: #0b0d12;
      border-color: var(--primary);
    }
    .cookie-actions .btn-primary:hover {
      background: #5a7ae6;
      transform: scale(1.02);
      box-shadow: 0 8px 20px rgba(108, 140, 255, 0.3);
    }
    .cookie-actions .btn-outline {
      background: transparent;
      border-color: var(--border);
    }
    .cookie-actions .btn-outline:hover {
      background: var(--card);
      border-color: var(--gray);
    }

    @media (max-width: 520px) {
      .cookie-popup {
        padding: 1.8rem 1.5rem;
      }
      .cookie-popup h2 {
        font-size: 1.5rem;
      }
      .cookie-actions .btn {
        flex: 1 1 100%;
        justify-content: center;
      }
    }

/* Project details and image gallery */
.project-card > .project-image { display:block; }
.project-card h3 a { color:inherit; text-decoration:none; }
.project-read-more { margin-top:20px; max-width:100%; white-space:normal; }
.project-read-more span { min-width:0; overflow-wrap:anywhere; }
.project-detail .content-heading h1 { margin-top:24px; }
.project-detail-layout { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.3fr); gap:48px; align-items:start; }
.project-detail-layout h2 { font-size:1.4rem; margin-bottom:20px; }
.project-description { color:var(--gray); line-height:1.9; margin-bottom:32px; white-space:pre-line; }
.project-visit { margin-top:28px; }
.project-gallery { display:grid; gap:20px; }
.project-gallery-image { display:block; border-radius:16px; overflow:hidden; border:1px solid var(--gray); }
.project-gallery img {
  display:block;
  width:100%;
  height:auto;
  max-height:640px;
  max-height:min(640px,70svh);
  object-fit:contain;
}
.project-gallery-image[hidden], .gallery-controls[hidden] { display:none; }
.gallery-controls { display:flex; align-items:center; justify-content:center; gap:24px; color:var(--gray); }
.gallery-controls button { width:44px; height:44px; border:1px solid var(--border); border-radius:8px; background:var(--card); color:var(--primary); font-size:1.4rem; cursor:pointer; }
.gallery-controls button:hover { border-color:var(--primary); }
.gallery-controls button:focus-visible, .project-gallery:focus-visible { outline:3px solid #8095ff; outline-offset:4px; }
.project-lightbox { width:min(1200px,96vw); max-height:94dvh; padding:16px; border:0; border-radius:16px; background:#111827; color:#fff; margin:auto; }
.project-lightbox::backdrop { background:rgba(0,0,0,.85); }
.project-lightbox > img { display:block; width:100%; height:auto; max-height:72dvh; object-fit:contain; }
.lightbox-toolbar { display:flex; justify-content:flex-end; margin-bottom:10px; }
.lightbox-controls { display:flex; align-items:center; justify-content:center; gap:24px; margin-top:16px; }
.project-lightbox button { min-width:44px; min-height:44px; border:1px solid #64748b; border-radius:8px; background:#1e293b; color:white; font-size:1.5rem; cursor:pointer; }
.project-lightbox button[hidden] { display:none; }
.project-detail a:focus-visible, .project-lightbox button:focus-visible { outline:3px solid #8095ff; outline-offset:4px; }
@media(max-width:760px) { .project-detail-layout { grid-template-columns:1fr; gap:36px; } .project-detail-layout > .project-images { order:-1; } }

/* Project case studies */
.project-case { background:linear-gradient(130deg,#fff 0%,#f7faff 60%,#fff 100%); }
.project-case > section { border-bottom:0; padding:24px 0; }
.project-case .content-heading { padding-top:116px; padding-bottom:8px; }
.project-case .content-heading h1 { font-size:clamp(1.75rem,3vw,2.5rem); margin:14px 0 0; }
.project-back { display:inline-flex; gap:8px; align-items:center; color:var(--gray); font-size:.85rem; text-decoration:none; }
.project-back:hover { color:var(--primary); }
.project-case-intro-grid { display:grid; grid-template-columns:minmax(0,.95fr) minmax(0,1.15fr); gap:48px; align-items:center; grid-template-areas:"intro visual"; }
.project-case-intro { grid-area:intro; min-width:0; }
.project-case-visual { grid-area:visual; min-width:0; text-align:center; }
.project-case h2.project-case-heading { display:flex; align-items:center; gap:14px; font-size:1.4rem; line-height:1.3; margin:0 0 18px; letter-spacing:-.035em; }
.project-case-icon { display:inline-flex; flex:none; align-items:center; justify-content:center; width:44px; height:44px; border-radius:10px; color:#fff; background:linear-gradient(140deg,#4386ff,#1452ff); box-shadow:0 6px 16px rgba(37,99,235,.12); font-size:1.2rem; }
.project-case-intro > p { font-size:.98rem; line-height:1.8; color:var(--gray); margin:0; }
.project-case-goals { margin-top:32px; }
.project-checklist { display:grid; gap:12px; list-style:none; margin:0; padding:0; }
.project-checklist li { display:flex; align-items:flex-start; gap:12px; color:var(--text-secondary); font-size:.94rem; line-height:1.65; }
.project-checklist li > i { display:inline-flex; flex:none; align-items:center; justify-content:center; width:21px; height:21px; margin-top:2px; background:var(--primary); color:#fff; border-radius:50%; font-size:.65rem; }
.project-case-hero { display:block; overflow:hidden; text-decoration:none; }
.project-case-browser { border:7px solid #202736; border-bottom-width:15px; border-radius:18px; background:#fff; box-shadow:0 20px 44px rgba(15,23,42,.16); }
.project-case-browser-bar { display:flex; justify-content:space-between; align-items:center; gap:12px; padding:8px 12px; background:#f1f5f9; color:#64748b; font-size:.65rem; }
.project-case-browser img { display:block; width:100%; aspect-ratio:4/3; height:auto; object-fit:cover; object-position:top; }
.project-case-mockup { border-radius:18px; }
.project-case-mockup img { display:block; width:100%; height:auto; max-height:600px; object-fit:contain; }
.project-case-visit { display:inline-flex; gap:10px; align-items:center; margin-top:18px; color:var(--primary); font-weight:600; font-size:.85rem; text-decoration:none; }
.project-feature-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:20px; }
.project-feature-card { min-width:0; padding:24px; background:#fff; border:1px solid #edf2fa; border-radius:12px; box-shadow:0 8px 26px rgba(37,99,235,.045); }
.project-feature-card .project-case-icon { margin-bottom:16px; }
.project-feature-card h2 { margin:0 0 10px; font-size:1.05rem; line-height:1.4; letter-spacing:-.025em; }
.project-feature-card p { margin:0; color:var(--gray); font-size:.9rem; line-height:1.65; }
.project-functions-grid { display:grid; grid-template-columns:minmax(0,.9fr) minmax(0,1.3fr); gap:36px; align-items:start; }
.project-case-screens { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; min-width:0; padding-top:4px; }
.project-screen-count-1 { grid-template-columns:1fr; max-width:320px; width:100%; justify-self:end; }
.project-screen-count-2 { grid-template-columns:repeat(2,minmax(0,1fr)); }
.project-screen-card { min-width:0; margin:0; }
.project-screen-card > a { display:block; border-radius:10px; overflow:hidden; border:1px solid #e5ecf7; background:white; box-shadow:0 4px 16px rgba(37,99,235,.1); }
.project-screen-card img { display:block; width:100%; height:auto; aspect-ratio:3/4; object-fit:cover; object-position:top; transition:transform .2s; }
.project-screen-card a:hover img { transform:scale(1.025); }
.project-screen-card h3 { font-size:.9rem; line-height:1.4; margin:14px 0 6px; letter-spacing:-.025em; }
.project-screen-card p { margin:0; font-size:.85rem; color:var(--gray); line-height:1.6; }
.project-summary-grid { display:grid; grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr); gap:24px; }
.project-summary-card { min-width:0; padding:24px; background:#fff; border:1px solid #edf2fa; border-radius:12px; box-shadow:0 8px 26px rgba(37,99,235,.045); }
.project-summary-card .tech { gap:8px; }
.project-summary-card .tech span { padding:9px 12px; border-radius:8px; background:#f1f5f9; color:var(--text-secondary); border:0; }
.project-results-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.project-result { display:flex; align-items:flex-start; gap:10px; min-width:0; }
.project-result > i { flex:none; color:var(--primary); font-size:1.15rem; margin-top:3px; }
.project-result h3 { font-size:.85rem; line-height:1.4; margin:0 0 8px; letter-spacing:-.02em; }
.project-result p { margin:0; color:var(--gray); font-size:.8rem; line-height:1.55; }
.project-case-more { padding-top:8px; padding-bottom:8px; }
.project-case-more > details { border-top:1px solid var(--border); border-bottom:1px solid var(--border); }
.project-case-more summary { cursor:pointer; padding:18px 0; font-size:.9rem; font-weight:600; color:var(--text-secondary); }
.project-case-more .project-copy { max-width:900px; }
.project-case-more .project-copy h2 { font-size:1.1rem; margin:24px 0 12px; }
.project-case-more .project-copy p { font-size:.95rem; }
.project-extra-images { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; margin-bottom:24px; }
.project-extra-images a { overflow:hidden; border:1px solid var(--border); border-radius:10px; }
.project-extra-images img { display:block; width:100%; height:auto; aspect-ratio:4/3; object-fit:cover; object-position:top; }
.project-case .service-final-box { display:grid; grid-template-columns:minmax(0,1fr) auto; grid-template-areas:"title button" "text button"; align-items:center; gap:12px 32px; text-align:left; padding:40px; border-radius:14px; }
.project-case .service-final-box h2 { grid-area:title; margin:0; max-width:none; font-size:1.9rem; }
.project-case .service-final-box p { grid-area:text; margin:0; }
.project-case .service-final-box > a { grid-area:button; }
.project-case > .project-case-related { padding-bottom:64px; }
.project-related-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:22px; }
.project-related-card { display:block; min-width:0; overflow:hidden; background:#fff; border:1px solid #edf2fa; border-radius:12px; text-decoration:none; color:var(--text); box-shadow:0 8px 26px rgba(37,99,235,.045); }
.project-related-card > img { display:block; width:100%; height:auto; aspect-ratio:16/9; object-fit:cover; object-position:top; }
.project-related-card > div { position:relative; padding:18px 40px 18px 18px; }
.project-related-card h3 { font-size:1rem; margin:0 0 8px; line-height:1.35; }
.project-related-card p { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; margin:0; color:var(--gray); font-size:.82rem; line-height:1.6; }
.project-related-card div > span { position:absolute; top:18px; right:12px; display:flex; align-items:center; justify-content:center; width:24px; height:24px; border-radius:50%; background:#eff6ff; color:var(--primary); }
.project-related-card:hover { border-color:#bfdbfe; }
@media(max-width:1100px) { .project-case-intro-grid { gap:30px; } .project-feature-card { padding:20px; } .project-summary-grid { grid-template-columns:1fr; } .project-results-grid { gap:24px; } .project-functions-grid { grid-template-columns:1fr; gap:24px; } }
@media(max-width:760px) { .project-case-intro-grid { grid-template-columns:1fr; grid-template-areas:"visual" "intro"; gap:32px; } .project-feature-grid,.project-related-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .project-case .service-final-box { grid-template-columns:1fr; grid-template-areas:"title" "text" "button"; padding:32px 24px; } .project-case .service-final-box > a { justify-self:start; margin-top:12px; } .project-extra-images { grid-template-columns:repeat(2,minmax(0,1fr)); } .project-screen-count-1 { max-width:none; justify-self:stretch; } }
@media(max-width:520px) { .project-case .content-heading { padding-top:104px; } .project-case > section { padding:18px 0; } .project-case h2.project-case-heading { font-size:1.2rem; gap:10px; } .project-case-icon { width:40px; height:40px; } .project-feature-grid,.project-related-grid { grid-template-columns:1fr; gap:16px; } .project-case-screens { grid-template-columns:1fr; gap:24px; } .project-screen-card img { aspect-ratio:4/3; } .project-results-grid { grid-template-columns:1fr; gap:20px; } .project-summary-card { padding:20px; } .project-case .service-final-box h2 { font-size:1.6rem; } }
