/* =============================
   GLOBAL RESET & VARIABLES
============================= */
:root {
  --primary: #5B2D8B;
  --secondary: #9B7EDE;
  --background: #ffffff;
  --muted: #f5f0fa;
  --text: #1f1f1f;
  --border: #e6def2;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--background);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

.highlight {
  color: var(--secondary);
}

/* =============================
   LAYOUT
============================= */
.container {
  max-width: 100%;
  margin: 0;
  padding: 0 2rem;
}

.section {
  padding: 1rem 0;
    background-color: rgb(245, 240, 250);
}

.section-title {
  margin-bottom: 1rem;
}

.center {
  text-align: center;
}

.muted {
  background: var(--muted);
}

/* =============================
   HEADER / NAV
============================= */
.header {
  border-bottom: 1px solid var(--border);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  margin-right: 5px;
}

.logo {
  height: 75px;
}

.nav a {
  margin-left: 1.5rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
}

.nav a:hover {
  color: var(--primary);
}

/* =============================
   BURGER MENU
============================= */
.burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
}

.burger span {
  width: 26px;
  height: 3px;
  background: var(--text);
  border-radius: 3px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
}

/* =============================
   MOBILE NAV (SMOOTH ANIMATION)
============================= */
@media (max-width: 900px) {
  .burger {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: #fff;
    flex-direction: column;
    gap: 1.5rem;
    padding: 0 2rem;

    /* ANIMATION PART */
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition:
      max-height 0.4s ease,
      opacity 0.3s ease,
      transform 0.3s ease;

    border-top: 1px solid var(--border);
  }

  .nav-links.active {
    max-height: 400px;
    padding: 2rem;
    opacity: 1;
    transform: translateY(0);
  }
}

/* =============================
   BUTTONS
============================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.65rem 1.4rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--primary);
  transition: all 0.3s ease;
}

.btn.primary {
  background: var(--primary);
  color: #fff;
}

.btn.secondary {
  background: #fff;
  color: var(--primary);
}

.btn:hover {
  box-shadow: 0 0 18px rgba(155, 126, 222, 0.45);
  transform: translateY(-2px);
}

/* =============================
   HERO
============================= */
.section-title {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2.5rem;
  color: var(--primary);
}
.hero {
  background: linear-gradient(
    135deg,
    #4B2373 0%,
    #5B2D8B 10%,
    #6E3BA8 20%
  );
  color: #fff;
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('fotot/img3.jpeg');
  background-size: cover;
  opacity: 0.3;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  line-height: 1.05;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.15rem;
  max-width: 640px;
}

.hero-actions {
  margin-top: 2rem;
}

/* =============================
   GRIDS
============================= */
.grid-3,
.grid-4 {
  display: grid;
  gap: 24px;
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

/* =============================
   CARDS
============================= */
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  box-shadow:
    0 1px 2px rgba(0,0,0,0.04),
    0 8px 24px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
  margin-bottom: 5px;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 6px 12px rgba(0,0,0,0.08),
    0 24px 48px rgba(0,0,0,0.12);
 

}
.cardc {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  box-shadow:
    0 1px 2px rgba(0,0,0,0.04),
    0 8px 24px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
  margin-bottom: 5px;
}

.cardc:hover {
  transform: translateY(-6px);
  box-shadow:
    0 6px 12px rgba(0,0,0,0.08),
    0 24px 48px rgba(0,0,0,0.12);
 margin-top: 15px;

}
.card1{
      background-color: rgb(245, 240, 250);
  transition: all 0.3s ease;
  text-align: center;
  padding: 28px;

}
.card h3 {
  margin-bottom: 12px;
  color: var(--primary);
}

.card p {
  color: #4b5563;
}

/* =============================
   FORMS
============================= */
input,
textarea {
  width: 100%;
  padding: 0.6rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  font-family: inherit;
}

/* =============================
   FOOTER
============================= */
.footer {
  background: #4B2373;
  color: #e9e3f4;
  padding-top: 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 3rem;
  padding-bottom: 3rem;
}

.footer-contact {
  grid-column: 4;
}

.footer-col h4 {
  margin-bottom: 1.2rem;
  color: #fff;
}

.footer-col ul {
  list-style: none;
}

.footer-col a {
  color: #e9e3f4;
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--secondary);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  text-align: center;
  padding: 1.5rem 0;
  font-size: 0.9rem;
  opacity: 0.85;
}

/* =============================
   RESPONSIVE FOOTER
============================= */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-contact {
    grid-column: auto;
  }
}
/* =============================
   RESPONSIVE MAP (FIX)
============================= */
.map {
  width: 100%;
  height: 260px;
  border-radius: 12px;
  overflow: hidden;
  margin-top: 1rem;
}

.map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
/* =============================
   SERVICES SECTION
============================= */

.services-section {
  padding: 5rem 2rem;
  background: linear-gradient(180deg, #faf7ff 0%, #ffffff 100%);
}

.services-intro {
  max-width: 720px;
  margin: 0 auto 3.5rem auto;
  font-size: 1.1rem;
  color: #4b5563;
}

.services-accordion {
  max-width: 1100px;
  margin: 0 auto;
}

/* Service Card */
.service-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  margin-bottom: 1.6rem;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(91, 45, 139, 0.08);
}

/* Header */
.service-header {
  width: 100%;
  background: none;
  border: none;
  padding: 1.8rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;

  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary);
}

.service-header .icon {
  font-size: 1.6rem;
  transition: transform 0.3s ease;
}

/* Content */
.service-content {
  max-height: 0;
  overflow: hidden;
  padding: 0 2rem;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.service-content p {
  margin-bottom: 1rem;
  color: #4b5563;
}

.service-content ul {
  padding-left: 1.2rem;
  margin-bottom: 1.5rem;
}

.service-content li {
  margin-bottom: 0.5rem;
}

/* Active State */
.service-item.active .service-content {
  max-height: 500px;
  padding: 0 2rem 2rem;
}

.service-item.active .icon {
  transform: rotate(45deg);
}

/* Mobile */
@media (max-width: 768px) {
  .service-header {
    padding: 1.4rem;
    font-size: 1.05rem;
  }

  .services-section {
    padding: 3.5rem 1rem;
  }
}
/* =============================
   SERVICES HEADER ENHANCEMENT
============================= */

.services-header {
  text-align: center;
  max-width: 1000px;
  margin: 0 auto 4rem auto;
  position: relative;
}

/* Decorative background blobs */
.services-section::before,
.services-section::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(155,126,222,0.18), transparent 70%);
  z-index: 0;
}

.services-section::before {
  top: 80px;
  left: -120px;
}

.services-section::after {
  bottom: 120px;
  right: -120px;
}

.services-section {
  position: relative;
  overflow: hidden;
}

/* Title line */
.title-line {
  width: 90px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  margin: 1rem auto 1.5rem auto;
  border-radius: 4px;
}

/* Stats row */
.services-stats {
  display: flex;
  justify-content: center;
  gap: 4rem;
  margin-top: 3rem;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat strong {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary);
}

.stat span {
  font-size: 0.95rem;
  color: #6b7280;
  margin-top: 0.3rem;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .services-stats {
    flex-direction: column;
    gap: 1.8rem;
  }

  .services-section::before,
  .services-section::after {
    display: none;
  }
}
/* =============================
   SERVICES SECTION ENHANCEMENT
============================= */

.services-section {
  position: relative;
  padding: 6rem 0;
  background:
    linear-gradient(
      rgba(245, 240, 250, 0.78),
      rgba(245, 240, 250, 0.78)
    ),
    url("fotot/img123.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Soft depth effect */
.services-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top,
    rgba(155, 126, 222, 0.12),
    transparent 60%
  );
  pointer-events: none;
}

/* Keep content above background */
.services-section > .container {
  position: relative;
  z-index: 1;
}

/* =============================
   SERVICES MOSAIC (4 BLOCKS)
============================= */

.services-mosaic {
  background: #0f172a;
  width: 100%;
}

/* GRID */
.mosaic-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  min-height: 600px;
}

/* BASE BLOCK */
.mosaic-block {
  padding: 3.5rem 3.5rem;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* COLOR VARIANTS */
.mosaic-block.purple {
  background: #5b2d8b;
  background-image: url("fotot/img2.JPG");
 
}

.mosaic-block.dark {
  background: #111827;
  background-image: url("fotot/img4.JPG");
}

.mosaic-block.darker {
  background: #0b1220;
  background-image: url("fotot/img1.JPG");
}
.mosaic-block.darki {
  background: #080a12;
  background-image: url("fotot/img6.JPG");
}
.mosaic-block.purple {
  background:
    linear-gradient(rgba(91, 45, 139, 0.6), rgba(91, 45, 139, 0.6)),
    url("fotot/img2.JPG");
  background-size: cover;
  background-position: center;
}

.mosaic-block.dark {
  background:
    linear-gradient(rgba(17, 24, 39, 0.6), rgba(17, 24, 39, 0.6)),
    url("fotot/img4.JPG");
  background-size: cover;
  background-position: center;
}

.mosaic-block.darker {
  background:
    linear-gradient(rgba(11, 18, 32, 0.65), rgba(11, 18, 32, 0.65)),
    url("fotot/img1.JPG");
  background-size: cover;
  background-position: center;
}

.mosaic-block.darki {
  background:
    linear-gradient(rgba(8, 10, 18, 0.65), rgba(8, 10, 18, 0.65)),
    url("fotot/img6.JPG");
  background-size: cover;
  background-position: center;
}

/* background image */
.services-mosaic::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;

}

/* HEADINGS */
.mosaic-block h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

/* LISTS */
.mosaic-block ul,
.mosaic-block ol {
  padding-left: 1.2rem;
}

.mosaic-block li {
  font-size: 1rem;
  margin-bottom: 0.7rem;
  line-height: 1.6;
}

/* PARAGRAPH */
.mosaic-block p {
  font-size: 1rem;
  line-height: 1.7;
  max-width: 480px;
  color: #e5e7eb;
}

/* =============================
   RESPONSIVE (MOBILE)
============================= */
@media (max-width: 900px) {
  .mosaic-grid {
    grid-template-columns: 1fr;
  }

  .mosaic-block {
    padding: 2.5rem 2rem;
  }

  .mosaic-block h3 {
    font-size: 1.6rem;
  }
}
/* =============================
   CUSTOM SYSTEMS SECTION
============================= */
.custom-systems {
  background: #0f172a;
  color: #e5e7eb;
  padding: 4rem 0;
}

/* MAIN GRID */
.custom-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: start;
}

/* LEFT CONTENT */
.custom-content .eyebrow {
  color: #8b5cf6;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.custom-content h2 {
  font-size: 2.4rem;
  margin: 0.6rem 0 1.2rem;
  color: #ffffff;
}

.custom-content .lead {
  font-size: 1.1rem;
  margin-bottom: 1.2rem;
  color: #d1d5db;
}

.custom-features {
  margin-top: 1.5rem;
  padding-left: 1.2rem;
}

.custom-features li {
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
}

/* RIGHT SIDE GRID */
.custom-products {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

/* PRODUCT CARD */
.product-card {
  background: #111827;
  border-radius: 18px;
  padding: 2rem;
  border: 1px solid rgba(255,255,255,0.08);
}

.product-card h3 {
  color: #ffffff;
  margin-bottom: 0.6rem;
}

.product-card p {
  font-size: 0.95rem;
  margin-bottom: 1rem;
  color: #d1d5db;
}

.product-card ul {
  padding-left: 1.1rem;
}

.product-card li {
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}

/* IMAGE BLOCK */
.system-image {
  margin-top: 4rem;
  text-align: center;
}

.system-image img {
  max-width: 1000px;
  width: 80%;
  border-radius: 18px;
  margin-left: 10%;
  border: 1px solid rgba(255,255,255,0.1);
}

.caption {
  margin-top: 0.7rem;
  font-size: 0.85rem;
  color: #c7d2fe;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .custom-grid {
    grid-template-columns: 1fr;
  }
}
/* =============================
   SYSTEM CONFIGURATIONS (FLAT)
============================= */

.configurations-section {
  background-color: rgb(245, 240, 250);
  padding: 6rem 0;
}

.config-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem;
}

.config-header h2 {
  font-size: 2.4rem;
  color: var(--primary);
  margin-bottom: 0.6rem;
}

.config-header p {
  font-size: 1.05rem;
  color: #4b5563;
}

/* GRID */
.config-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

/* ITEM */
.config-item {
  text-align: center;
}

.config-item img {
  width: 100%;
  height: auto;
  max-height: 260px;
  object-fit: contain;
  background: #f9fafb;
  padding: 1.2rem;
  border: 1px solid var(--border);
}

/* CAPTION */
.config-item figcaption {
  margin-top: 1rem;
}

.config-item strong {
  display: block;
  font-size: 1rem;
  color: #111827;
  margin-bottom: 0.3rem;
}

.config-item span {
  font-size: 0.9rem;
  color: #6b7280;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .config-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .config-grid {
    grid-template-columns: 1fr;
  }

  .config-item img {
    max-height: 220px;
  }
}
/* =============================
   PROJECTS GALLERY
============================= */
/* GRID */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
}

/* CARD */
.project-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 8px 24px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 16px 40px rgba(0,0,0,0.12);
}

/* IMAGE */
.project-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: #f9fafb;
}

/* CAPTION */
.project-card figcaption {
  padding: 1.2rem 1.4rem;
}

.project-card strong {
  display: block;
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.project-card span {
  font-size: 0.9rem;
  color: #6b7280;
}

/* MOBILE */
@media (max-width: 600px) {
  .project-card img {
    height: 200px;
  }
}
