

/* ============================================================
   1. CSS VARIABLES & DESIGN TOKENS
   ============================================================ */
:root {
  /* Primary palette — extracted from reference image */
  --color-primary:        #1B4F9E;   /* Royal blue — logo, accents, CTAs     */
  --color-primary-dark:   #0F3270;   /* Darker blue — hover states            */
  --color-primary-light:  #E8F0FB;   /* Very light blue — feature bg tints    */
  --color-accent:         #2D80E8;   /* Bright blue — hero accent word        */

  /* Neutral palette */
  --color-dark:           #0D1B2A;   /* Near-black — hero bg, footer bg       */
  --color-dark-2:         #122138;   /* Dark navy — footer, stats bg          */
  --color-text:           #1A1A2E;   
  --color-text-muted:     #5A6A7A;  
  --color-border:         #E2E8F0;   
  --color-bg:             #FFFFFF;   
  --color-bg-alt:         #F5F8FF;   

  /* Topbar */
  --color-topbar-bg:      #0D1B2A;
  --color-topbar-text:    #B8C5D0;

  /* Typography */
  --font-sans:            'Inter', system-ui, -apple-system, sans-serif;
  --weight-regular:       400;
  --weight-medium:        500;
  --weight-semibold:      600;
  --weight-bold:          700;
  --weight-extrabold:     800;

  /* Spacing scale */
  --space-xs:   0.5rem;
  --space-sm:   1rem;
  --space-md:   1.5rem;
  --space-lg:   2.5rem;
  --space-xl:   4rem;
  --space-2xl:  6rem;

  /* Border radius */
  --radius-sm:  6px;
  --radius-md:  10px;
  --radius-lg:  16px;

  /* Shadows */
  --shadow-card:  0 4px 20px rgba(27, 79, 158, 0.08);
  --shadow-hover: 0 12px 32px rgba(27, 79, 158, 0.18);
  --shadow-btn:   0 4px 14px rgba(27, 79, 158, 0.35);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-med:  0.3s ease;
}

/* ============================================================
   2. RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}


/* ============================================================
   3. TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4 {
  line-height: 1.2;
  font-weight: var(--weight-bold);
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: var(--weight-semibold);
  letter-spacing: 0.12em;
  color: var(--color-primary);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: var(--weight-extrabold);
  color: var(--color-text);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-lg);
}


/* ============================================================
   4. LAYOUT UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(1rem, 5vw, 2rem);
}


/* ============================================================
   5. COMPONENTS
   ============================================================ */

/* ----- TOPBAR ----- */
.topbar {
  background: var(--color-topbar-bg);
  color: var(--color-topbar-text);
  font-size: 0.8rem;
  padding: 0.55rem 0;
}

.topbar__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.topbar__item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
}

.topbar__icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--color-primary);
}


/* ----- HEADER ----- */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: box-shadow var(--transition-med);
}

.header--scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}


/* ----- LOGO ----- */
.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
  transition: opacity var(--transition-fast);
}
.logo__img{
  width: 50;
  height: 502;
}

.logo:hover {
  opacity: 0.85;
}

.logo__icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo__name {
  font-size: 1.05rem;
  font-weight: var(--weight-extrabold);
  color: var(--color-text);
  letter-spacing: 0.04em;
}

.logo__sub {
  font-size: 0.6rem;
  font-weight: var(--weight-semibold);
  color: var(--color-text-muted);
  letter-spacing: 0.12em;
}

.logo__name--light { color: #ffffff; }
.logo__sub--light  { color: rgba(255,255,255,0.6); }


/* ----- NAV ----- */
.nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav__link {
  font-size: 0.9rem;
  font-weight: var(--weight-medium);
  color: var(--color-text);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  position: relative;
  transition: color var(--transition-fast);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0.75rem;
  right: 0.75rem;
  height: 2px;
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-med);
  border-radius: 1px;
}

.nav__link:hover,
.nav__link--active {
  color: var(--color-primary);
}

.nav__link:hover::after,
.nav__link--active::after {
  transform: scaleX(1);
}

.nav__link:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.header__cta {
  flex-shrink: 0;
  margin-left: auto;
}


/* ----- HAMBURGER ----- */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
}

.hamburger:hover { background: var(--color-bg-alt); }

.hamburger__bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform var(--transition-med), opacity var(--transition-fast);
}

.hamburger.is-open .hamburger__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.is-open .hamburger__bar:nth-child(2) {
  opacity: 0;
}
.hamburger.is-open .hamburger__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}


/* ----- BUTTONS ----- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.4rem;
  font-size: 0.9rem;
  font-weight: var(--weight-semibold);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  cursor: pointer;
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.btn--primary {
  background: var(--color-primary);
  color: #ffffff;
  box-shadow: var(--shadow-btn);
}

.btn--primary:hover {
  background: var(--color-primary-dark);
  transform: scale(1.03);
  box-shadow: 0 6px 20px rgba(27, 79, 158, 0.45);
}

.btn--primary:active {
  transform: scale(0.97);
}

.btn--outline {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255,255,255,0.7);
}

.btn--outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: #ffffff;
  transform: scale(1.03);
}

.btn--outline:active {
  transform: scale(0.97);
}

.btn__arrow {
  transition: transform var(--transition-fast);
}

.btn:hover .btn__arrow {
  transform: translateX(3px);
}


/* ----- HERO ----- */
.hero {
  position: relative;
  min-height: clamp(480px, 70vh, 720px);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(13, 27, 42, 0.90) 0%,
    rgba(13, 27, 42, 0.72) 50%,
    rgba(13, 27, 42, 0.35) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  padding-top: var(--space-xl);
  padding-bottom: var(--space-xl);
}

.hero__text {
  max-width: 580px;
}

.hero__heading {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: var(--weight-extrabold);
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: var(--space-md);
}

.hero__heading--accent {
  color: var(--color-accent);
}

.hero__subtext {
  font-size: clamp(0.9rem, 2vw, 1rem);
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Hero entrance animation */
.fade-in-up {
  animation: fadeInUp 0.7s ease forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* ----- FEATURES STRIP ----- */
.features {
  padding: var(--space-xl) 0;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.feature-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  padding: 1.5rem 1rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-med);
  cursor: default;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.feature-card__icon {
  width: 56px;
  height: 56px;
  background: var(--color-primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  transition: background var(--transition-fast);
}

.feature-card:hover .feature-card__icon {
  background: rgba(27, 79, 158, 0.15);
}

.feature-card__icon svg {
  width: 100%;
  height: 100%;
}

.feature-card__title {
  font-size: 0.95rem;
  font-weight: var(--weight-bold);
  color: var(--color-text);
}

.feature-card__desc {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}


/* ----- ABOUT ----- */
.about {
  padding: var(--space-2xl) 0;
  background: var(--color-bg);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about__heading {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: var(--weight-extrabold);
  color: var(--color-text);
  margin-bottom: 1rem;
  line-height: 1.25;
}

.about__body {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.about__list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.75rem;
}

.about__list-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  font-weight: var(--weight-medium);
  color: var(--color-text);
}

.about__check {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.about__image-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
  aspect-ratio: 5/4;
}

.about__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.about__image-wrap:hover .about__image {
  transform: scale(1.04);
}


/* ----- PRODUCTS ----- */
.products {
  padding: var(--space-2xl) 0;
  background: var(--color-bg-alt);
}

.products__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.product-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition-med);
  box-shadow: var(--shadow-card);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(27, 79, 158, 0.2);
}

.product-card__img-wrap {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #f0f4f8;
}

.product-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-med);
}

.product-card:hover .product-card__img {
  transform: scale(1.07);
}

.product-card__body {
  padding: 1.25rem;
}

.product-card__title {
  font-size: 1rem;
  font-weight: var(--weight-bold);
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.product-card__desc {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 0.85rem;
}

.product-card__link {
  font-size: 0.85rem;
  font-weight: var(--weight-semibold);
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: gap var(--transition-fast), color var(--transition-fast);
}

.product-card__link:hover {
  gap: 0.5rem;
  color: var(--color-primary-dark);
}


/* ----- STATS ----- */
.stats {
  background: var(--color-dark-2);
  padding: var(--space-xl) 0;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  position: relative;
}

/* Dividers between stat items */
.stats__grid .stat-item + .stat-item {
  border-left: 1px solid rgba(255,255,255,0.1);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem 1rem;
  gap: 0.4rem;
}

.stat-item__icon {
  width: 44px;
  height: 44px;
  margin-bottom: 0.5rem;
}

.stat-item__icon svg {
  width: 100%;
  height: 100%;
}

.stat-item__number {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: var(--weight-extrabold);
  color: #ffffff;
  line-height: 1;
}

.stat-item__plus {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: var(--weight-extrabold);
  color: #ffffff;
  /* Inline with number — handled in JS */
  display: inline;
}

/* Wrap number + plus together */
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-item__count {
  display: flex;
  align-items: baseline;
  gap: 0;
  line-height: 1;
  margin: 0.25rem 0;
}

.stat-item__label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  font-weight: var(--weight-medium);
}


/* ----- FOOTER ----- */
.footer {
  background: var(--color-dark);
  color: rgba(255,255,255,0.7);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1.3fr 1.4fr;
  gap: 3rem;
  padding-top: var(--space-xl);
  padding-bottom: var(--space-xl);
}

.footer__tagline {
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.55);
  margin-top: 1rem;
  margin-bottom: 1.25rem;
  max-width: 260px;
}

.footer__socials {
  display: flex;
  gap: 0.75rem;
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.7);
  transition: all var(--transition-fast);
}

.footer__social-link svg {
  width: 18px;
  height: 18px;
}

.footer__social-link:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #ffffff;
  transform: translateY(-2px);
}

.footer__col-title {
  font-size: 0.95rem;
  font-weight: var(--weight-bold);
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer__link {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition-fast);
  display: inline-block;
}

.footer__link:hover {
  color: #ffffff;
  padding-left: 4px;
}

.footer__contact-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer__contact-item {
  display: flex;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
}

.footer__contact-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--color-accent);
  margin-top: 2px;
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}

.footer__heart {
  color: #e74c3c;
}


/* ============================================================
   6. SCROLL ANIMATIONS
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered delay for grid children */
.features__grid .fade-in:nth-child(2) { transition-delay: 0.1s; }
.features__grid .fade-in:nth-child(3) { transition-delay: 0.2s; }
.features__grid .fade-in:nth-child(4) { transition-delay: 0.3s; }

.products__grid .fade-in:nth-child(2) { transition-delay: 0.1s; }
.products__grid .fade-in:nth-child(3) { transition-delay: 0.2s; }
.products__grid .fade-in:nth-child(4) { transition-delay: 0.3s; }

.stats__grid .fade-in:nth-child(2) { transition-delay: 0.1s; }
.stats__grid .fade-in:nth-child(3) { transition-delay: 0.2s; }
.stats__grid .fade-in:nth-child(4) { transition-delay: 0.3s; }


/* ============================================================
   7. RESPONSIVE — TABLET (≤ 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .features__grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .stats__grid .stat-item:nth-child(3) {
    border-left: none;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }

  .footer__tagline {
    max-width: 100%;
  }

  .nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(13, 27, 42, 0.97);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 999;
    backdrop-filter: blur(8px);
  }

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

  .nav__list {
    flex-direction: column;
    gap: 0.5rem;
  }

  .nav__link {
    font-size: 1.3rem;
    color: #ffffff;
    padding: 0.75rem 2rem;
  }

  .nav__link::after {
    background: #ffffff;
    left: 2rem;
    right: 2rem;
  }

  .hamburger {
    display: flex;
    z-index: 1001;
    position: relative;
  }

  .hamburger.is-open .hamburger__bar {
    background: #ffffff;
  }

  .header__cta {
    display: none;
  }
}


/* ============================================================
   8. RESPONSIVE — MOBILE (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {
  .topbar__inner {
    flex-direction: column;
    gap: 0.3rem;
    text-align: center;
  }

  .about__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about__image-wrap {
    order: -1;
  }

  .features__grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .footer__bottom-inner {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}


/* ============================================================
   9. RESPONSIVE — SMALL MOBILE (≤ 480px)
   ============================================================ */
@media (max-width: 480px) {
  .features__grid {
    grid-template-columns: 1fr;
  }

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

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

  .stats__grid .stat-item + .stat-item {
    border-left: none;
  }

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

  .hero__actions {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* ============================================================
   10. DARK MODE (prefers-color-scheme)
   ============================================================ */
@media (prefers-color-scheme: dark) {
  :root {
    --color-bg:         #0f1923;
    --color-bg-alt:     #141f2b;
    --color-text:       #e8edf2;
    --color-text-muted: #8fa0b0;
    --color-border:     rgba(255,255,255,0.1);
    --shadow-card:      0 4px 20px rgba(0,0,0,0.3);
    --shadow-hover:     0 12px 32px rgba(0,0,0,0.45);
  }

  .header {
    background: #0f1923;
    border-bottom-color: rgba(255,255,255,0.08);
  }

  .product-card {
    background: #141f2b;
  }

  .logo__name { color: #e8edf2; }
  .logo__sub  { color: #8fa0b0; }
}


/* ============================================================
   11. ACCESSIBILITY — REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .fade-in,
  .fade-in-up {
    opacity: 1;
    transform: none;
  }
}
/* ============================================================
   ADDITIONS — Services, Applications, Contact Form
   ============================================================ */

/* ----- LOGO IMAGE (replaces SVG icon) ----- */
.logo__img {
  width: 50px;
  height: auto;
  flex-shrink: 0;
  object-fit: contain;
  transition: opacity var(--transition-fast);
}

.logo__img--light {
  filter: brightness(0) invert(1);
}

/* ----- SERVICES ----- */
.services {
  padding: var(--space-2xl) 0;
  background: var(--color-bg-alt);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all var(--transition-med);
  box-shadow: var(--shadow-card);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(27, 79, 158, 0.25);
}

.service-card__icon {
  width: 56px;
  height: 56px;
  background: var(--color-primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  margin: 0 auto 1rem;
}

.service-card__icon svg { width: 100%; height: 100%; }

.service-card__title {
  font-size: 1rem;
  font-weight: var(--weight-bold);
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.service-card__desc {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* ----- APPLICATIONS ----- */
.applications {
  padding: var(--space-2xl) 0;
  background: var(--color-bg);
}

.applications__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.app-card {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  transition: transform var(--transition-med);
}

.app-card:hover { transform: scale(1.03); }

.app-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,27,42,0.85) 0%, rgba(13,27,42,0.2) 60%);
  transition: background var(--transition-med);
}

.app-card:hover .app-card__overlay {
  background: linear-gradient(to top, rgba(27,79,158,0.8) 0%, rgba(27,79,158,0.3) 60%);
}

.app-card__title {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  color: #fff;
  font-size: 1.05rem;
  font-weight: var(--weight-bold);
  z-index: 2;
}

/* ----- CONTACT SECTION ----- */
.contact-section {
  padding: var(--space-2xl) 0;
  background: var(--color-bg-alt);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 4rem;
  align-items: start;
}

.contact__heading {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: var(--weight-extrabold);
  color: var(--color-text);
  margin-bottom: 0.75rem;
  line-height: 1.25;
}

.contact__intro {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact__detail-item {
  display: flex;
  gap: 0.85rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.contact__detail-icon {
  width: 40px;
  height: 40px;
  background: var(--color-primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact__detail-icon svg {
  width: 18px;
  height: 18px;
  color: var(--color-primary);
}

.contact__detail-item strong {
  display: block;
  color: var(--color-text);
  font-weight: var(--weight-semibold);
  margin-bottom: 0.1rem;
}

/* ----- CONTACT FORM ----- */
.contact__form-wrap {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1.25rem;
}

.form-label {
  font-size: 0.85rem;
  font-weight: var(--weight-semibold);
  color: var(--color-text);
}

.form-required { color: #e74c3c; }

.form-control {
  width: 100%;
  padding: 0.65rem 0.9rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--color-text);
  background: var(--color-bg);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
}

.form-control:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(27, 79, 158, 0.12);
}

.form-control--textarea {
  resize: vertical;
  min-height: 120px;
}

select.form-control { cursor: pointer; }

.form-error {
  font-size: 0.8rem;
  color: #e74c3c;
  min-height: 1rem;
}

.form-status {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.form-status--success {
  background: #edf9f0;
  color: #2e7d32;
  border: 1px solid #a5d6a7;
}

.form-status--error {
  background: #fdf2f2;
  color: #c62828;
  border: 1px solid #ef9a9a;
}

.btn--full { width: 100%; justify-content: center; }

.btn__spinner { display: none; }

/* Responsive additions */
@media (max-width: 1024px) {
  .services__grid     { grid-template-columns: repeat(2, 1fr); }
  .applications__grid { grid-template-columns: repeat(2, 1fr); }
  .contact__grid      { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  .form-row           { grid-template-columns: 1fr; }
  .applications__grid { grid-template-columns: repeat(2, 1fr); }
  .services__grid     { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .services__grid     { grid-template-columns: 1fr; }
  .applications__grid { grid-template-columns: 1fr; }
  .contact__form-wrap { padding: 1.5rem; }
}

@media (prefers-color-scheme: dark) {
  .contact__form-wrap { background: #141f2b; }
  .form-control       { background: #0f1923; color: #e8edf2; border-color: rgba(255,255,255,0.1); }
  .service-card       { background: #141f2b; }
}
