/* =====================================
   DVS WEBSITE STYLE SHEET
===================================== */

:root {
  --primary: #24779a;
  --primary-dark: #1a5d79;
  --ink: #1f2933;
  --muted: #66727d;
  --light: #f5f7f8;
  --white: #fff;
  --line: #e4e9ed;
  --shadow: 0 14px 35px rgba(25, 52, 66, 0.10);
  --radius: 18px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  line-height: 1.65;
  background: #fff;
}

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

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

.container {
  width: min(1120px, 92%);
  margin: auto;
}


/* =====================================
   TOP BAR
===================================== */

.topbar {
  background: #174e66;
  color: #fff;
  font-size: 13px;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 8px 0;
}


/* =====================================
   HEADER / NAVIGATION
===================================== */

header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  color: var(--primary-dark);
}

.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  box-shadow: 0 5px 16px rgba(36, 119, 154, 0.28);
}

.navlinks {
  display: flex;
  align-items: center;
  gap: 25px;
  font-size: 14px;
}

.navlinks a {
  color: #3f4b54;
  transition: 0.2s;
}

.navlinks a:hover,
.navlinks a.active,
.navlinks a.active-page {
  color: var(--primary);
  font-weight: 700;
}

.menu {
  display: none;
  border: 0;
  background: none;
  font-size: 28px;
  color: var(--primary);
  cursor: pointer;
}


/* =====================================
   BUTTONS
===================================== */

.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 8px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  border: 2px solid var(--primary);
  transition: 0.2s;
}

.btn:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-1px);
}

.btn.alt {
  background: #fff;
  color: var(--primary);
}

.btn.small {
  padding: 9px 16px;
  font-size: 13px;
}


/* =====================================
   HERO SLIDER
===================================== */

.hero {
  position: relative;
  min-height: 590px;
  display: flex;
  align-items: center;
  overflow: hidden;

  background-image:
    url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1800&q=85");

  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;

  transition: background-image 0.8s ease-in-out;
}

.hero-overlay {
  position: absolute;
  inset: 0;

  background: linear-gradient(
    90deg,
    rgba(10, 38, 50, 0.86),
    rgba(10, 38, 50, 0.45)
  );

  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;

  color: #fff;
  max-width: 700px;
  padding: 85px 0;

  animation: heroContentIn 0.7s ease;
}

.hero-content.hero-changing {
  animation: heroContentIn 0.7s ease;
}

@keyframes heroContentIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }

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

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  font-weight: 800;
  color: #d7f2ff;
  margin-bottom: 15px;
}

h1 {
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.08;
  margin-bottom: 22px;
}

.hero p {
  font-size: 18px;
  max-width: 650px;
  color: #eef7fa;
  margin-bottom: 30px;
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}


/* =====================================
   HERO DOTS
===================================== */

.hero-dots {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);

  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;

  background: rgba(255, 255, 255, 0.55);

  cursor: pointer;

  transition:
    width 0.25s ease,
    background 0.25s ease;
}

.hero-dot.active {
  width: 28px;
  border-radius: 10px;
  background: #fff;
}


/* =====================================
   GENERAL SECTIONS
===================================== */

.section {
  padding: 80px 0;
}

.section.alt-bg {
  background: var(--light);
}

.section-title {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 42px;
}

.section-title h2 {
  font-size: 36px;
  line-height: 1.2;
  margin-bottom: 10px;
}

.section-title p {
  color: var(--muted);
}


/* =====================================
   GRID
===================================== */

.grid {
  display: grid;
  gap: 24px;
}

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

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


/* =====================================
   CARDS
===================================== */

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 27px;
  box-shadow: var(--shadow);
}

.icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #e4f3f8;
  color: var(--primary);

  display: grid;
  place-items: center;

  font-size: 24px;
  margin-bottom: 18px;
}

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

.card p {
  color: var(--muted);
  font-size: 14px;
}


/* =====================================
   RESULTS
===================================== */

.results {
  background: var(--primary);
  color: #fff;
}

.results .section-title p {
  color: #dceff5;
}

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

.stat {
  text-align: center;
  padding: 25px 10px;
}

.stat strong {
  display: block;
  font-size: 38px;
  line-height: 1.1;
  margin-bottom: 6px;

  font-variant-numeric: tabular-nums;

  transition: transform 0.2s ease;
}

.results.counting .stat strong {
  transform: scale(1.04);
}

.stat span {
  color: #e2f4fa;
}


/* =====================================
   WHY DVS / SPLIT SECTION
===================================== */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 55px;
  align-items: center;
}

.visual {
  min-height: 380px;

  border-radius: 24px;

  background:
    linear-gradient(
      135deg,
      rgba(36, 119, 154, 0.85),
      rgba(14, 48, 65, 0.72)
    ),
    url("https://images.unsplash.com/photo-1497215842964-222b430dc094?auto=format&fit=crop&w=1200&q=85")
    center/cover;

  box-shadow: var(--shadow);
}

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

.split p {
  color: var(--muted);
  margin-bottom: 15px;
}

.checks {
  list-style: none;
  display: grid;
  gap: 10px;
  margin: 22px 0;
}

.checks li::before {
  content: "✓";

  display: inline-grid;
  place-items: center;

  width: 24px;
  height: 24px;

  border-radius: 50%;

  background: #e4f3f8;
  color: var(--primary);

  font-weight: 800;

  margin-right: 10px;
}


/* =====================================
   TESTIMONIALS
===================================== */

.testimonials {
  background: var(--primary);
  color: #fff;
}

.testimonials .section-title p {
  color: #dceff5;
}

.quote {
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: none;
}

.quote p {
  color: #eef8fb;
  margin-bottom: 17px;
}

.quote .person {
  font-weight: 700;
}


/* =====================================
   BANNER
===================================== */

.banner {
  padding: 45px 0;

  background:
    linear-gradient(
      90deg,
      var(--primary-dark),
      var(--primary)
    );

  color: #fff;
}

.banner .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.banner h2 {
  font-size: 30px;
}


/* =====================================
   PAGE HERO
===================================== */

.page-hero {
  min-height: 230px;

  display: flex;
  align-items: center;

  padding: 85px 0;

  background:
    linear-gradient(
      90deg,
      rgba(13, 51, 67, 0.82),
      rgba(36, 119, 154, 0.60)
    ),
    url("https://images.unsplash.com/photo-1497366811353-6870744d04b2?auto=format&fit=crop&w=1800&q=85")
    center/cover;

  color: #fff;
}

.page-hero h1 {
  font-size: 52px;
  margin: 0;
  letter-spacing: -0.5px;
}

.breadcrumb {
  margin-top: 8px;
  color: #d8edf4;
}


/* =====================================
   HOME INTRO
===================================== */

.home-intro {
  max-width: 900px;
  margin: auto;
  text-align: center;
}


/* =====================================
   SERVICES PAGE
===================================== */

.service-list {
  display: grid;
  gap: 18px;
}

.service-row {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 18px;

  padding: 24px;

  background: #fff;
  border: 1px solid var(--line);
  border-radius: 15px;
}

.service-row .icon {
  margin: 0;
}

.service-row h3 {
  margin-bottom: 5px;
}


/* =====================================
   FORMS
===================================== */

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field {
  display: grid;
  gap: 7px;
}

.field.full {
  grid-column: 1 / -1;
}

label {
  font-weight: 700;
  font-size: 14px;
}

input,
textarea,
select {
  width: 100%;

  border: 1px solid #ccd5da;
  border-radius: 9px;

  padding: 13px 14px;

  font: inherit;

  outline: none;

  background: #fff;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--primary);

  box-shadow:
    0 0 0 3px rgba(36, 119, 154, 0.12);
}

textarea {
  min-height: 145px;
  resize: vertical;
}

.notice {
  display: none;

  margin-top: 12px;
  padding: 12px;

  background: #e5f7ec;
  color: #24663b;

  border-radius: 8px;
}


/* =====================================
   CONTACT
===================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.contact-item {
  padding: 24px;

  border: 1px solid var(--line);
  border-radius: 14px;
}

.contact-item strong {
  display: block;
  margin-bottom: 5px;
}


/* =====================================
   FAQ
===================================== */

.faq {
  max-width: 850px;
  margin: auto;

  display: grid;
  gap: 12px;
}

details {
  border: 1px solid var(--line);
  border-radius: 12px;

  padding: 17px 20px;

  background: #fff;
}

summary {
  cursor: pointer;
  font-weight: 700;
}

details p {
  color: var(--muted);
  padding-top: 10px;
}


/* =====================================
   RECENT PROJECTS
===================================== */

.recent-projects {
  padding: 80px 6%;
  background: #f8fafc;
  overflow: hidden;
}

.projects-heading {
  text-align: center;
  margin-bottom: 40px;
}

.projects-heading span {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #2563eb;
}

.projects-heading h2 {
  font-size: 38px;
  margin: 10px 0;
  color: #111827;
}

.projects-heading p {
  color: #6b7280;
  font-size: 16px;
}


/* =====================================
   PROJECT CAROUSEL
===================================== */

.carousel {
  position: relative;
  max-width: 1100px;
  margin: auto;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.project-card {
  min-width: 100%;
  position: relative;

  border-radius: 18px;
  overflow: hidden;

  background: white;

  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.08);
}

.project-card img {
  width: 100%;
  height: 480px;

  object-fit: contain;

  background: #eef3f6;

  display: block;
}

.project-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;

  padding: 30px;
  padding-top: 100px;

  color: white;

  background:
    linear-gradient(
      transparent,
      rgba(0, 0, 0, 0.85)
    );
}

.project-info h3 {
  margin: 0 0 8px;
  font-size: 25px;
}

.project-info p {
  margin: 0;
  font-size: 15px;
}


/* =====================================
   CAROUSEL BUTTONS
===================================== */

.carousel-btn {
  position: absolute;
  top: 50%;

  transform: translateY(-50%);

  width: 45px;
  height: 45px;

  border: none;
  border-radius: 50%;

  background: white;
  color: #111827;

  font-size: 20px;

  cursor: pointer;

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

  z-index: 5;
}

.carousel-btn:hover {
  background: #2563eb;
  color: white;
}

.prev {
  left: 20px;
}

.next {
  right: 20px;
}


/* =====================================
   CAROUSEL DOTS
===================================== */

.carousel-dots {
  display: flex;
  justify-content: center;

  gap: 8px;

  margin-top: 20px;
}

.carousel-dot {
  width: 9px;
  height: 9px;

  border-radius: 50%;

  background: #cbd5e1;

  cursor: pointer;

  transition: 0.25s ease;
}

.carousel-dot.active {
  background: #2563eb;
  width: 25px;
  border-radius: 10px;
}


/* =====================================
   FOOTER
===================================== */

footer {
  background: #155b77;
  color: #fff;

  padding: 60px 0 25px;
}

.footer-grid {
  display: grid;

  grid-template-columns:
    1.3fr 1fr 1fr 1fr;

  gap: 30px;
}

footer h3 {
  margin-bottom: 15px;
}

footer p,
footer li {
  font-size: 14px;
  color: #dcecf2;
}

footer ul {
  list-style: none;

  display: grid;
  gap: 7px;
}

footer a:hover {
  color: #fff;
}

.social {
  display: flex;
  gap: 9px;
  margin-top: 15px;
}

.social a {
  width: 34px;
  height: 34px;

  border-radius: 50%;

  background: rgba(255, 255, 255, 0.13);

  display: grid;
  place-items: center;

  transition: 0.2s ease;
}

.social a:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.18);

  margin-top: 35px;
  padding-top: 20px;

  text-align: center;

  font-size: 13px;
  color: #cfe3ea;
}


/* =====================================
   FLOATING WHATSAPP BUTTON
===================================== */

.whatsapp-float {
  position: fixed;

  right: 22px;
  bottom: 22px;

  z-index: 9999;

  display: flex;
  align-items: center;
  gap: 10px;

  padding: 13px 18px;

  background: #25D366;
  color: #fff;

  text-decoration: none;

  font-size: 15px;
  font-weight: 700;

  border-radius: 50px;

  box-shadow:
    0 8px 25px rgba(0, 0, 0, 0.20);

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

.whatsapp-float:hover {
  color: #fff;

  transform:
    translateY(-4px)
    scale(1.02);

  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.25);
}

.whatsapp-icon {
  width: 29px;
  height: 29px;

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

  background: #fff;
  color: #25D366;

  border-radius: 50%;

  flex-shrink: 0;

  font-size: 18px;
  font-weight: bold;
}

.whatsapp-icon svg {
  width: 21px;
  height: 21px;
}


/* =====================================
   DVS AI ASSISTANT BUTTON
===================================== */

.dvs-ai-button {
  position: fixed;

  right: 22px;
  bottom: 90px;

  z-index: 9998;

  display: flex;
  align-items: center;
  gap: 9px;

  padding: 13px 18px;

  border: none;
  border-radius: 50px;

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

  font-size: 14px;
  font-weight: 700;

  cursor: pointer;

  box-shadow:
    0 8px 25px rgba(0, 0, 0, 0.20);

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

.dvs-ai-button:hover {
  background: var(--primary-dark);

  transform: translateY(-4px);

  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.25);
}

.dvs-ai-icon {
  font-size: 21px;
}


/* =====================================
   DVS AI CHAT WINDOW
===================================== */

.dvs-ai-box {
  position: fixed;

  right: 22px;
  bottom: 155px;

  width: 360px;
  max-width: calc(100vw - 30px);

  height: 500px;
  max-height: calc(100vh - 190px);

  background: #fff;

  border: 1px solid var(--line);
  border-radius: 18px;

  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.22);

  z-index: 10000;

  display: none;

  overflow: hidden;

  flex-direction: column;
}

.dvs-ai-box.open {
  display: flex;
}


/* =====================================
   AI HEADER
===================================== */

.dvs-ai-header {
  display: flex;

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

  padding: 17px 18px;

  background: var(--primary);
  color: #fff;
}

.dvs-ai-header strong {
  display: block;
  font-size: 15px;
}

.dvs-ai-header small {
  display: block;

  margin-top: 2px;

  font-size: 11px;

  opacity: 0.85;
}

.dvs-ai-close {
  border: none;
  background: transparent;

  color: #fff;

  font-size: 28px;

  cursor: pointer;

  line-height: 1;
}


/* =====================================
   AI MESSAGES
===================================== */

.dvs-ai-messages {
  flex: 1;

  padding: 17px;

  overflow-y: auto;

  background: #f6f9fa;

  display: flex;
  flex-direction: column;

  gap: 12px;
}

.dvs-ai-message {
  max-width: 85%;

  padding: 11px 13px;

  border-radius: 14px;

  font-size: 13px;
  line-height: 1.55;

  word-wrap: break-word;
  overflow-wrap: anywhere;
}

.dvs-ai-message.ai {
  align-self: flex-start;

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

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

.dvs-ai-message.user {
  align-self: flex-end;

  background: var(--primary);
  color: #fff;
}


/* =====================================
   AI TYPING INDICATOR
===================================== */

.dvs-ai-typing {
  opacity: 0.75;
  font-style: italic;
}


/* =====================================
   AI INPUT AREA
===================================== */

.dvs-ai-input-area {
  display: flex;

  align-items: center;

  gap: 7px;

  padding: 10px;

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

  background: #fff;
}

.dvs-ai-input-area input {
  flex: 1;
  min-width: 0;

  padding: 11px 12px;

  border: 1px solid #ccd5da;

  border-radius: 10px;

  font-size: 13px;

  outline: none;
}

.dvs-ai-input-area input:focus {
  border-color: var(--primary);

  box-shadow:
    0 0 0 3px rgba(36, 119, 154, 0.12);
}


/* =====================================
   AI MIC + SEND BUTTONS
===================================== */

.dvs-ai-mic,
.dvs-ai-send {
  width: 40px;
  height: 40px;

  flex-shrink: 0;

  border: none;
  border-radius: 10px;

  cursor: pointer;

  display: grid;
  place-items: center;

  font-size: 17px;

  transition: 0.2s ease;
}

.dvs-ai-mic {
  background: #e4f3f8;
  color: var(--primary);
}

.dvs-ai-mic:hover {
  background: #d4ebf2;
}

.dvs-ai-send {
  background: var(--primary);
  color: #fff;
}

.dvs-ai-send:hover {
  background: var(--primary-dark);
}

.dvs-ai-send:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}


/* =====================================
   AI STATUS
===================================== */

.dvs-ai-status {
  padding: 7px 12px;

  text-align: center;

  font-size: 11px;

  color: var(--muted);

  background: #fff;

  border-top: 1px solid #f0f2f3;
}


/* =====================================
   MOBILE
===================================== */

@media (max-width: 850px) {

  .topbar {
    display: none;
  }

  .menu {
    display: block;
  }

  .navlinks {
    display: none;

    position: absolute;

    left: 0;
    right: 0;

    top: 72px;

    background: #fff;

    padding: 18px 5%;

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

    flex-direction: column;

    align-items: flex-start;
  }

  .navlinks.open {
    display: flex;
  }

  .grid-3,
  .grid-4,
  .stats,
  .split,
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }

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


/* =====================================
   TABLET / MOBILE
===================================== */

@media (max-width: 768px) {

  .recent-projects {
    padding: 55px 5%;
  }

  .projects-heading h2 {
    font-size: 30px;
  }

  .project-card img {
    height: 300px;
  }

  .project-info {
    padding: 20px;
    padding-top: 80px;
  }

  .project-info h3 {
    font-size: 20px;
  }

  .project-info p {
    font-size: 13px;
  }

  .carousel-btn {
    width: 38px;
    height: 38px;
    font-size: 16px;
  }

  .prev {
    left: 10px;
  }

  .next {
    right: 10px;
  }
}


/* =====================================
   SMALL MOBILE
===================================== */

@media (max-width: 600px) {

  .hero {
    min-height: 650px;
  }

  .hero-content {
    padding: 60px 0 90px;
  }

  .hero-dots {
    bottom: 22px;
  }

  .section {
    padding: 58px 0;
  }

  .grid-3,
  .grid-4,
  .stats,
  .split,
  .contact-grid,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .field.full {
    grid-column: auto;
  }

  .page-hero {
    padding: 65px 0;
  }

  .page-hero h1 {
    font-size: 40px;
  }

  .banner .container {
    display: grid;
  }

  /* WhatsApp */

  .whatsapp-float {
    width: 54px;
    height: 54px;

    right: 15px;
    bottom: 15px;

    padding: 0;

    justify-content: center;

    border-radius: 50%;
  }

  .whatsapp-text {
    display: none;
  }

  .whatsapp-icon {
    width: 34px;
    height: 34px;
    font-size: 20px;
  }

  .whatsapp-icon svg {
    width: 24px;
    height: 24px;
  }

  /* DVS AI */

  .dvs-ai-button {
    right: 15px;
    bottom: 80px;

    padding: 12px 15px;

    font-size: 13px;
  }

  .dvs-ai-box {
    right: 15px;
    bottom: 145px;

    width: calc(100vw - 30px);

    height: 470px;

    max-height: calc(100vh - 175px);
  }

  .dvs-ai-message {
    max-width: 90%;
  }
}


/* =====================================
   VERY SMALL PHONES
===================================== */

@media (max-width: 380px) {

  .logo {
    font-size: 16px;
  }

  .logo-mark {
    width: 36px;
    height: 36px;
    font-size: 12px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero p {
    font-size: 16px;
  }

  .dvs-ai-button {
    font-size: 12px;
  }

  .dvs-ai-box {
    width: calc(100vw - 20px);
    right: 10px;
  }
}