/*--------------------------------------------------------------
# Contrivance Research Solution — Tech Redesign
# Layered on top of main.css. Keeps original accent (#3498db)
# and adds a cyan tech-accent, glass surfaces, grid/dot patterns,
# gradient CTAs, and refined spacing/typography.
--------------------------------------------------------------*/
:root {
  --tech-accent: #3498db;
  --tech-accent-2: #00c2ff;
  --tech-ink: #0b1a2b;
  --tech-muted: #5c6b7a;
  --tech-line: rgba(11, 26, 43, 0.08);
  --tech-surface: #ffffff;
  --tech-bg: #f6fafd;
  --tech-radius: 18px;
  --tech-shadow: 0 10px 40px -12px rgba(15, 55, 90, 0.18);
  --tech-shadow-sm: 0 4px 16px -4px rgba(15, 55, 90, 0.12);
  --tech-gradient: linear-gradient(135deg, #3498db 0%, #00c2ff 100%);
}

body {
  background-color: var(--tech-bg);
  -webkit-font-smoothing: antialiased;
}

/* Subtle dot-grid texture used behind key sections */
.tech-grid-bg {
  position: relative;
  background-image:
    radial-gradient(rgba(52, 152, 219, 0.16) 1.4px, transparent 1.4px);
  background-size: 26px 26px;
  background-position: -8px -8px;
}

::selection {
  background: var(--tech-accent);
  color: #fff;
}

/*--------------------------------------------------------------
# Header / Nav
--------------------------------------------------------------*/
#header {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--tech-line);
  padding: 12px 0;
}

.header .logo h1.sitename {
  font-size: 21px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  background: var(--tech-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.navmenu a {
  font-weight: 500;
  letter-spacing: 0.01em;
}

.navmenu a::after {
  content: "";
  display: none;
}

@media (min-width: 1200px) {
  .navmenu > ul > li > a {
    position: relative;
  }
  .navmenu > ul > li > a::before {
    content: "";
    position: absolute;
    left: 15px;
    right: 15px;
    bottom: 10px;
    height: 2px;
    background: var(--tech-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
  }
  .navmenu > ul > li:hover > a::before,
  .navmenu > ul > li > a.active::before {
    transform: scaleX(1);
  }
}

.header .btn-getstarted {
  background: var(--tech-gradient);
  box-shadow: 0 8px 20px -6px rgba(52, 152, 219, 0.55);
  font-weight: 600;
}

.header .btn-getstarted:hover {
  filter: brightness(1.05);
  box-shadow: 0 10px 24px -6px rgba(52, 152, 219, 0.65);
}

/*--------------------------------------------------------------
# Eyebrow / Section Titles
--------------------------------------------------------------*/
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 50px;
  background: color-mix(in srgb, var(--tech-accent), transparent 92%);
  color: var(--tech-accent);
  font-family: var(--nav-font);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-eyebrow i {
  font-size: 14px;
}

.section-title h2 {
  font-weight: 800;
  letter-spacing: -0.02em;
}

.section-title h2:before,
.section-title h2:after {
  background: var(--tech-gradient);
  height: 3px;
  border-radius: 3px;
}

.section-title p {
  color: var(--tech-muted);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/*--------------------------------------------------------------
# Hero
--------------------------------------------------------------*/
.hero {
  min-height: 92vh;
  padding: 140px 0 80px 0;
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(0, 194, 255, 0.16), transparent 60%),
    radial-gradient(900px 500px at -10% 20%, rgba(52, 152, 219, 0.14), transparent 60%),
    var(--tech-bg);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(11, 26, 43, 0.08) 1.4px, transparent 1.4px);
  background-size: 28px 28px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
  -webkit-mask-image: linear-gradient(to bottom, black, transparent 85%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 50px;
  background: var(--tech-surface);
  box-shadow: var(--tech-shadow-sm);
  border: 1px solid var(--tech-line);
  font-size: 13px;
  font-weight: 600;
  color: var(--tech-accent);
  margin-bottom: 22px;
}

.hero .hero-badge span.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25);
}

.hero h1 {
  font-size: 52px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--tech-ink);
}

.hero h1 .accent-text {
  background: var(--tech-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p.hero-lead {
  color: var(--tech-muted);
  font-size: 19px;
  font-weight: 400;
  max-width: 520px;
  margin: 18px 0 30px 0;
}

.hero .btn-get-started {
  background: var(--tech-gradient);
  border: none;
  color: #fff;
  font-weight: 600;
  padding: 14px 34px;
  box-shadow: 0 12px 28px -8px rgba(52, 152, 219, 0.55);
}

.hero .btn-get-started:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.hero .btn-watch-video {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-left: 18px;
  font-weight: 600;
  color: var(--tech-ink);
}

.hero .btn-watch-video::before {
  content: "\f4f2";
  font-family: "bootstrap-icons";
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--tech-surface);
  box-shadow: var(--tech-shadow-sm);
  color: var(--tech-accent);
  font-size: 18px;
}

.hero .hero-stats-row {
  display: flex;
  gap: 34px;
  margin-top: 42px;
  flex-wrap: wrap;
}

.hero .hero-stats-row .hs-item strong {
  display: block;
  font-size: 26px;
  font-weight: 800;
  color: var(--tech-ink);
  font-family: var(--heading-font);
}

.hero .hero-stats-row .hs-item span {
  font-size: 13px;
  color: var(--tech-muted);
}

.hero-img {
  position: relative;
}

.hero-img .hero-img-frame {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--tech-shadow);
  border: 1px solid var(--tech-line);
}

.hero-img img {
  border-radius: 22px;
  width: 100%;
}

.hero-img .float-chip {
  position: absolute;
  background: var(--tech-surface);
  box-shadow: var(--tech-shadow);
  border-radius: 14px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--tech-ink);
  border: 1px solid var(--tech-line);
  z-index: 2;
}

.hero-img .float-chip i {
  font-size: 20px;
  color: var(--tech-accent);
}

.hero-img .chip-1 {
  top: -18px;
  left: -18px;
}

.hero-img .chip-2 {
  bottom: -18px;
  right: -14px;
}

@media (max-width: 991px) {
  .hero {
    padding: 120px 0 60px 0;
    min-height: auto;
  }
  .hero h1 {
    font-size: 36px;
  }
  .hero-img .float-chip {
    display: none;
  }
}

/*--------------------------------------------------------------
# About
--------------------------------------------------------------*/
.about .content h3 {
  font-weight: 800;
  letter-spacing: -0.02em;
}

.about .content p {
  color: var(--tech-muted);
  line-height: 1.75;
}

.about .about-media {
  position: relative;
  border-radius: var(--tech-radius);
  overflow: hidden;
  box-shadow: var(--tech-shadow);
  border: 1px solid var(--tech-line);
  margin-bottom: 24px;
}

.about .about-media img {
  width: 100%;
  display: block;
}

.about .icon-box {
  background: var(--tech-surface);
  border: 1px solid var(--tech-line);
  border-radius: var(--tech-radius);
  padding: 28px 24px;
  height: 100%;
  transition: all 0.3s ease;
  box-shadow: var(--tech-shadow-sm);
}

.about .icon-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--tech-shadow);
  border-color: color-mix(in srgb, var(--tech-accent), transparent 60%);
}

.about .icon-box i {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--tech-gradient);
  color: #fff;
  font-size: 22px;
  margin-bottom: 16px;
}

.about .icon-box p {
  color: var(--tech-muted);
}

/*--------------------------------------------------------------
# Stats
--------------------------------------------------------------*/
#stats {
  background: var(--tech-ink);
  position: relative;
  overflow: clip;
}

#stats::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1.4px, transparent 1.4px);
  background-size: 26px 26px;
}

#stats .container {
  position: relative;
  z-index: 1;
}

.stats .stats-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  padding: 24px;
}

.stats .stats-item i {
  color: var(--tech-accent-2);
}

.stats .stats-item .purecounter {
  color: #fff;
}

.stats .stats-item p {
  color: rgba(255, 255, 255, 0.6);
}

/*--------------------------------------------------------------
# Services / Cards
--------------------------------------------------------------*/
.services .service-item {
  border-radius: var(--tech-radius);
  box-shadow: var(--tech-shadow-sm);
  border: 1px solid var(--tech-line);
  padding: 42px 28px;
}

.services .service-item i {
  background: var(--tech-gradient);
  border-radius: 16px;
  width: 60px;
  height: 60px;
}

.services .service-item h4 {
  font-weight: 700;
}

.services .service-item p {
  color: var(--tech-muted);
}

.services .service-item:hover {
  transform: translateY(-6px);
}

.services .service-item:before,
.services .service-item:after {
  background: color-mix(in srgb, var(--tech-accent), transparent 93%);
}

/*--------------------------------------------------------------
# CTA / Workshop band
--------------------------------------------------------------*/
#no-code-ai-workshop {
  height: auto;
  padding: 90px 0;
  background-image:
    linear-gradient(120deg, rgba(11, 26, 43, 0.88), rgba(15, 60, 100, 0.82)),
    url('../img/f1.jpg');
}

#no-code-ai-workshop::before {
  display: none;
}

.workshop-title {
  font-size: 2.4rem;
  letter-spacing: -0.02em;
  text-transform: none;
}

.workshop-subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.btn-primary {
  background: var(--tech-gradient) !important;
  border: none !important;
  border-radius: 50px;
  box-shadow: 0 12px 28px -8px rgba(52, 152, 219, 0.6);
}

/*--------------------------------------------------------------
# Alt Services — compact split cards (image + content side by side)
--------------------------------------------------------------*/
.tech-split-card {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  background: var(--tech-surface);
  border: 1px solid var(--tech-line);
  border-radius: var(--tech-radius);
  overflow: hidden;
  box-shadow: var(--tech-shadow-sm);
  transition: all 0.3s ease;
  height: 100%;
}

.tech-split-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--tech-shadow);
  border-color: color-mix(in srgb, var(--tech-accent), transparent 65%);
}

.tech-split-card .tsc-media {
  position: relative;
  flex: 0 0 38%;
  max-width: 38%;
  min-height: 100%;
  overflow: hidden;
}

.tech-split-card .tsc-media img {
  width: 100%;
  height: 100%;
  min-height: 190px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.tech-split-card:hover .tsc-media img {
  transform: scale(1.08);
}

.tech-split-card .tsc-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 26, 43, 0) 55%, rgba(11, 26, 43, 0.35) 100%);
}

.tech-split-card .tsc-icon {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.92);
  color: var(--tech-accent);
  font-size: 16px;
  box-shadow: var(--tech-shadow-sm);
}

.tech-split-card .tsc-body {
  flex: 1;
  padding: 26px 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.tech-split-card .tsc-body h4 {
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 10px;
  color: var(--heading-color);
}

.tech-split-card .tsc-body p {
  color: var(--tech-muted);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 6px;
}

.tech-split-card .tsc-body p:last-child {
  margin-bottom: 0;
}

@media (max-width: 575px) {
  .tech-split-card {
    flex-direction: column;
  }
  .tech-split-card .tsc-media {
    flex: 0 0 auto;
    max-width: 100%;
    width: 100%;
  }
  .tech-split-card .tsc-media img {
    min-height: 160px;
    max-height: 180px;
  }
  .tech-split-card .tsc-body {
    padding: 22px;
  }
}

.alt-services .service-item .img {
  border-radius: 0;
}

.alt-services .details {
  border-radius: 14px;
  background: color-mix(in srgb, var(--tech-surface), transparent 4%);
  backdrop-filter: blur(6px);
}

/*--------------------------------------------------------------
# Features strip
--------------------------------------------------------------*/
.features .features-item {
  border-radius: 14px;
  border: 1px solid var(--tech-line);
  box-shadow: var(--tech-shadow-sm);
}

.features .features-item i {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: color-mix(in srgb, var(--tech-accent), transparent 90%);
}

/*--------------------------------------------------------------
# Products (new section)
--------------------------------------------------------------*/
.products.section {
  background: var(--tech-bg);
}

.products .product-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 50px;
  background: color-mix(in srgb, var(--tech-accent), transparent 90%);
  color: var(--tech-accent);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
}

.products h3 {
  font-weight: 800;
  font-size: 28px;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.products .product-lead {
  color: var(--tech-muted);
  line-height: 1.75;
  margin-bottom: 30px;
}

.products .product-feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 32px;
}

.products .pf-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--tech-surface);
  border: 1px solid var(--tech-line);
  border-radius: 14px;
  padding: 18px;
  box-shadow: var(--tech-shadow-sm);
  transition: all 0.3s ease;
}

.products .pf-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--tech-shadow);
}

.products .pf-item i {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--tech-gradient);
  color: #fff;
  font-size: 19px;
}

.products .pf-item h5 {
  font-weight: 700;
  font-size: 14.5px;
  margin: 0 0 4px 0;
  color: var(--heading-color);
}

.products .pf-item p {
  color: var(--tech-muted);
  font-size: 13px;
  margin: 0;
  line-height: 1.5;
}

.product-infographic-frame {
  display: block;
  position: relative;
  border-radius: var(--tech-radius);
  overflow: hidden;
  box-shadow: var(--tech-shadow);
  border: 1px solid var(--tech-line);
  max-height: 640px;
}

.product-infographic-frame img {
  width: 100%;
  height: 100%;
  max-height: 640px;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform 0.5s ease;
}

.product-infographic-frame:hover img {
  transform: scale(1.03);
}

.product-infographic-frame .pif-zoom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 16px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(180deg, rgba(11, 26, 43, 0) 0%, rgba(11, 26, 43, 0.75) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.product-infographic-frame:hover .pif-zoom {
  opacity: 1;
}

@media (max-width: 991px) {
  .products .product-feature-list {
    grid-template-columns: 1fr;
  }
  .product-infographic-frame {
    max-height: 520px;
  }
  .product-infographic-frame img {
    max-height: 520px;
  }
}

/*--------------------------------------------------------------
# Projects (new section)
--------------------------------------------------------------*/
.projects.section {
  background: var(--tech-bg);
}

.projects .project-card {
  position: relative;
  border-radius: var(--tech-radius);
  border: 1px dashed color-mix(in srgb, var(--tech-accent), transparent 55%);
  background: var(--tech-surface);
  padding: 40px 26px;
  height: 100%;
  text-align: center;
  transition: all 0.3s ease;
}

.projects .project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--tech-shadow);
  border-style: solid;
}

.projects .project-card .proj-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 18px auto;
  border-radius: 16px;
  background: color-mix(in srgb, var(--tech-accent), transparent 90%);
  color: var(--tech-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}

.projects .project-card h4 {
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 8px;
}

.projects .project-card p {
  color: var(--tech-muted);
  font-size: 14px;
  margin-bottom: 0;
}

.projects .project-card .coming-soon-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--tech-accent);
  background: color-mix(in srgb, var(--tech-accent), transparent 90%);
  padding: 4px 10px;
  border-radius: 50px;
}

/*--------------------------------------------------------------
# Testimonials
--------------------------------------------------------------*/
.testimonials.section {
  background: var(--tech-bg) !important;
}

.testimonials .testimonial-item {
  border-radius: var(--tech-radius);
  border: 1px solid var(--tech-line);
  box-shadow: var(--tech-shadow-sm);
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: color-mix(in srgb, var(--tech-accent), transparent 60%);
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact {
  background-image: none;
}

.contact:before {
  display: none;
}

.contact .info-card {
  background: var(--tech-surface);
  border: 1px solid var(--tech-line);
  border-radius: var(--tech-radius);
  padding: 30px;
  box-shadow: var(--tech-shadow-sm);
  height: 100%;
}

.contact .info-item i {
  background: var(--tech-gradient);
  border-radius: 12px;
}

.contact .php-email-form {
  background: var(--tech-surface);
  border: 1px solid var(--tech-line);
  border-radius: var(--tech-radius);
  padding: 30px;
  box-shadow: var(--tech-shadow-sm);
}

.contact .php-email-form input[type=text],
.contact .php-email-form input[type=email],
.contact .php-email-form textarea {
  border-radius: 10px;
  border: 1px solid var(--tech-line);
  background: var(--tech-bg);
}

.contact .php-email-form button[type=submit] {
  background: var(--tech-gradient);
  font-weight: 600;
  padding: 12px 34px;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
  background: var(--tech-ink);
  color: rgba(255, 255, 255, 0.7);
  box-shadow: none;
  padding: 46px 0 30px 0;
}

.footer .copyright,
.footer .copyright span {
  color: rgba(255, 255, 255, 0.85);
}

.footer .social-links a {
  border-color: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.75);
}

.footer .social-links a:hover {
  background: var(--tech-gradient);
  border-color: transparent;
  color: #fff;
}

/*--------------------------------------------------------------
# WhatsApp float button — align with palette
--------------------------------------------------------------*/
.float {
  background-color: #25d366;
  box-shadow: var(--tech-shadow);
}
